Skip to content

Commit 335291a

Browse files
committed
TestController: simplify @GetMapping annotation.
Should be in 29f6dc9 commit. No functional changes.
1 parent 504342f commit 335291a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/ru/mystamps/web/controller/TestController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public String simpleJson() {
5858
return "test";
5959
}
6060

61-
@GetMapping(path = "/test/invalid/simple-html")
61+
@GetMapping("/test/invalid/simple-html")
6262
public void simpleHtml(HttpServletResponse response) throws IOException {
6363
response.setContentType("text/html");
6464
response.setCharacterEncoding("UTF-8");

0 commit comments

Comments
 (0)