Skip to content

Commit 7e79554

Browse files
committed
Upgrade version of checkstyle
1 parent 2486809 commit 7e79554

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

config/checkstyle/checkstyle.xml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@
33
"-//Puppy Crawl//DTD Check Configuration 1.3//EN"
44
"http://www.puppycrawl.com/dtds/configuration_1_3.dtd">
55
<module name="Checker">
6-
<module name="SuppressionCommentFilter">
7-
<property name="offCommentFormat" value="CHECKSTYLE:OFF"/>
8-
<property name="onCommentFormat" value="CHECKSTYLE:ON"/>
9-
</module>
106

117
<module name="RegexpSingleline">
128
<property name="format" value="serialVersionUID"/>
@@ -25,7 +21,6 @@
2521
<module name="FileTabCharacter"/>
2622

2723
<module name="TreeWalker">
28-
<module name="FileContentsHolder"/>
2924
<!-- Block Checks -->
3025
<module name="EmptyBlock"/>
3126
<module name="LeftCurly"/>
@@ -143,5 +138,8 @@
143138
<module name="OperatorWrap"/>
144139
<module name="ParenPad"/>
145140
<module name="TypecastParenPad"/>
141+
142+
<module name="MissingSwitchDefault"/>
143+
<module name="FallThrough"/>
146144
</module>
147145
</module>

config/static-code-analyze.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ tasks.withType(FindBugs) {
4848
}
4949

5050
checkstyle {
51-
toolVersion = '8.0'
51+
toolVersion = '8.12'
5252
}
5353

5454
tasks.withType(Checkstyle) {

0 commit comments

Comments
 (0)