Updated indentation

This commit is contained in:
Kiran 2016-09-28 16:50:14 -04:00 committed by GitHub
parent f6e5e17c9a
commit 7f58390d53

View File

@ -4,23 +4,22 @@ import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap; import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RequestMethod;
@Controller @Controller
@RequestMapping("/") @RequestMapping("/")
public class ApplicationController { public class ApplicationController {
@RequestMapping(value = { "/"}, method = RequestMethod.GET) @RequestMapping(value = { "/" }, method = RequestMethod.GET)
public String homePage(ModelMap model) { public String homePage(ModelMap model) {
return "home"; return "home";
} }
@RequestMapping(value = { "/apachetiles"}, method = RequestMethod.GET) @RequestMapping(value = { "/apachetiles" }, method = RequestMethod.GET)
public String productsPage(ModelMap model) { public String productsPage(ModelMap model) {
return "apachetiles"; return "apachetiles";
} }
@RequestMapping(value = { "/springmvc"}, method = RequestMethod.GET) @RequestMapping(value = { "/springmvc" }, method = RequestMethod.GET)
public String contactUsPage(ModelMap model) { public String contactUsPage(ModelMap model) {
return "springmvc"; return "springmvc";
} }