Skip to content
Snippets Groups Projects
Commit 1d40e8d6 authored by Paul-Christian Volkmer's avatar Paul-Christian Volkmer Committed by Daniel Gerhardt
Browse files

Remove unused request param

parent 4a930bb3
No related merge requests found
Pipeline #9134 failed with stages
in 59 seconds
...@@ -57,13 +57,13 @@ public class WelcomeController extends AbstractController { ...@@ -57,13 +57,13 @@ public class WelcomeController extends AbstractController {
private Properties versionInfoProperties; private Properties versionInfoProperties;
@RequestMapping(value = "/", method = RequestMethod.GET) @RequestMapping(value = "/", method = RequestMethod.GET)
public View home(final HttpServletRequest request) { public View home() {
return new RedirectView(mobileContextPath + "/", false); return new RedirectView(mobileContextPath + "/", false);
} }
@RequestMapping(value = "/", method = RequestMethod.GET, produces = "application/json") @RequestMapping(value = "/", method = RequestMethod.GET, produces = "application/json")
@ResponseBody @ResponseBody
public Map<String, Object> jsonHome(final HttpServletRequest request) { public Map<String, Object> jsonHome() {
Map<String, Object> response = new HashMap<>(); Map<String, Object> response = new HashMap<>();
Map<String, Object> version = new HashMap<>(); Map<String, Object> version = new HashMap<>();
......
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