Commit 2a82b68b authored by Sumaiyya Burney's avatar Sumaiyya Burney

Update src/main/java/com/nisum/cicd/training/springbootrefapp/controllers/HelloController.java

parent 5ba4ee93
......@@ -9,6 +9,7 @@ public class HelloController {
@RequestMapping("/hello")
public String index(@RequestParam(required = false) String name) {
if (name == null) name = "";
return "Greetings " + name + "! - Sumaiyya";
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment