Rename args

This commit is contained in:
Marek Lewandowski 2016-12-12 20:23:34 +01:00
parent 15ed123945
commit 3b53e82b8b
1 changed files with 2 additions and 2 deletions

View File

@ -9,8 +9,8 @@ import org.springframework.web.servlet.mvc.AbstractController;
public class SimpleControllerHandlerAdapterExample extends
AbstractController {
@Override
protected ModelAndView handleRequestInternal(HttpServletRequest arg0,
HttpServletResponse arg1) throws Exception {
protected ModelAndView handleRequestInternal(HttpServletRequest request,
HttpServletResponse response) throws Exception {
ModelAndView model = new ModelAndView("Greeting");
model.addObject("message", "Dinesh Madhwal");
return model;