Skip to content

Commit e15abf3

Browse files
committed
Properly suppress warnings and errors from CheckStyle on Windows.
See for more information: https://rolf-engelhard.de/2012/11/using-checkstyles-suppression-filters-on-windows-and-linux/ No functional changes.
1 parent 18ef269 commit e15abf3

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/main/config/checkstyle-suppressions.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,16 @@
99
<suppress checks="HideUtilityClassConstructor" files="ru.mystamps.web.controller.dto" />
1010

1111
<!-- These files will be removed during porting integration tests to Cucumber JVM (see #18) -->
12-
<suppress checks="ImportOrder" files="src/test/java/ru/mystamps/web/tests" />
12+
<suppress checks="ImportOrder" files="ru.mystamps.web.tests" />
1313

1414
<!-- false positives because these files contain SQL queries -->
15-
<suppress checks="Translation" files="src/main/resources/sql" />
15+
<suppress checks="Translation" files="src[/\\]main[/\\]resources[/\\]sql" />
1616

1717
<!-- Too long link -->
18-
<suppress checks="LineLength" files="src/main/java/ru/mystamps/web/dao/impl/package-info.java" />
19-
<suppress checks="LineLength" files="src/main/java/ru/mystamps/web/support/thymeleaf/GroupByParent.java" />
18+
<suppress checks="LineLength" files="src[/\\]main[/\\]java[/\\]ru[/\\]mystamps[/\\]web[/\\]dao[/\\]impl[/\\]package-info.java" />
19+
<suppress checks="LineLength" files="ru.mystamps.web.support.thymeleaf.GroupByParent" />
2020

2121
<!-- Packages in the tests don't need javadocs as they don't appear in the generated API docs -->
22-
<suppress checks="JavadocPackageCheck" files="src/test/java" />
22+
<suppress checks="JavadocPackageCheck" files="src[/\\]test[/\\]java" />
2323

2424
</suppressions>

0 commit comments

Comments
 (0)