BAEL-7263: Update method names

This commit is contained in:
Constantin 2024-01-29 15:45:07 +02:00
parent 2c75afbbe3
commit 550788a96d
1 changed files with 2 additions and 2 deletions

View File

@ -24,14 +24,14 @@ public class HomeController {
} }
@RequestMapping(value = "/variable-defined", method = RequestMethod.GET) @RequestMapping(value = "/variable-defined", method = RequestMethod.GET)
public String getDefinedVariables(Model model) { public String getVariableIsDefined(Model model) {
DateFormat dateFormat = DateFormat.getDateTimeInstance(DateFormat.LONG, DateFormat.LONG, Locale.getDefault()); DateFormat dateFormat = DateFormat.getDateTimeInstance(DateFormat.LONG, DateFormat.LONG, Locale.getDefault());
model.addAttribute("serverTime", dateFormat.format(new Date())); model.addAttribute("serverTime", dateFormat.format(new Date()));
return "checkVariableIsDefined.html"; return "checkVariableIsDefined.html";
} }
@RequestMapping(value = "/variable-not-defined", method = RequestMethod.GET) @RequestMapping(value = "/variable-not-defined", method = RequestMethod.GET)
public String getNotDefinedVariables(Model model) { public String getVariableIsNotDefined(Model model) {
return "checkVariableIsDefined.html"; return "checkVariableIsDefined.html";
} }
} }