diff --git a/org.springframework.web.servlet/src/test/java/org/springframework/web/servlet/mvc/annotation/UriTemplateServletAnnotationControllerTests.java b/org.springframework.web.servlet/src/test/java/org/springframework/web/servlet/mvc/annotation/UriTemplateServletAnnotationControllerTests.java index eb5a32f319..8bf9f7b456 100644 --- a/org.springframework.web.servlet/src/test/java/org/springframework/web/servlet/mvc/annotation/UriTemplateServletAnnotationControllerTests.java +++ b/org.springframework.web.servlet/src/test/java/org/springframework/web/servlet/mvc/annotation/UriTemplateServletAnnotationControllerTests.java @@ -167,13 +167,11 @@ public class UriTemplateServletAnnotationControllerTests { writer.write("specific"); } -/* @RequestMapping("/hotels/{hotel}") public void handleVars(@PathVariable("hotel") String hotel, Writer writer) throws IOException { assertEquals("Invalid path variable value", "42", hotel); writer.write("variables"); } -*/ @RequestMapping("/hotels/*") public void handleWildCard(Writer writer) throws IOException {