Skip to content

Commit b54d104

Browse files
committed
[DO NOT MERGE] make maven-checkstyle-plugin fail.
1 parent 3701332 commit b54d104

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,7 @@ public class CategoryController {
6161

6262
@InitBinder("addCategoryForm")
6363
protected void initBinder(WebDataBinder binder) {
64-
// We can't use StringTrimmerEditor here because "only one single registered custom
65-
// editor per property path is supported".
64+
// We can't use StringTrimmerEditor here because "only one single registered custom editor per property path is supported".
6665
ReplaceRepeatingSpacesEditor editor = new ReplaceRepeatingSpacesEditor(true);
6766
binder.registerCustomEditor(String.class, "name", editor);
6867
binder.registerCustomEditor(String.class, "nameRu", editor);

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@
1717
*/
1818
package ru.mystamps.web.controller;
1919

20+
import javax.servlet.http.HttpServletResponse;
21+
import javax.validation.Valid;
22+
2023
import java.io.IOException;
2124
import java.util.List;
2225
import java.util.Locale;
2326

24-
import javax.servlet.http.HttpServletResponse;
25-
import javax.validation.Valid;
26-
2727
import org.springframework.http.HttpStatus;
2828
import org.springframework.stereotype.Controller;
2929
import org.springframework.ui.Model;

0 commit comments

Comments
 (0)