Skip to content

Commit 4e63f5d

Browse files
committed
Issue #117: update for MethodCountCheck tokens
1 parent eb7ce25 commit 4e63f5d

File tree

2 files changed

+3
-3
lines changed
  • checkstyle-sonar-plugin/src/main/resources/org/sonar/plugins/checkstyle

2 files changed

+3
-3
lines changed

checkstyle-sonar-plugin/src/main/resources/org/sonar/plugins/checkstyle/rules.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1728,8 +1728,8 @@
17281728
<param key="maxPublic" type="INTEGER">
17291729
<defaultValue>100</defaultValue>
17301730
</param>
1731-
<param key="tokens" type="s[CLASS_DEF,ENUM_CONSTANT_DEF,ENUM_DEF,INTERFACE_DEF]">
1732-
<defaultValue>CLASS_DEF,ENUM_CONSTANT_DEF,ENUM_DEF,INTERFACE_DEF</defaultValue>
1731+
<param key="tokens" type="s[CLASS_DEF,ENUM_CONSTANT_DEF,ENUM_DEF,INTERFACE_DEF,ANNOTATION_DEF]">
1732+
<defaultValue>CLASS_DEF,ENUM_CONSTANT_DEF,ENUM_DEF,INTERFACE_DEF,ANNOTATION_DEF</defaultValue>
17331733
</param>
17341734
</rule>
17351735

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
</ciManagement>
8686

8787
<properties>
88-
<checkstyle.version>7.8.2</checkstyle.version>
88+
<checkstyle.version>8.0</checkstyle.version>
8989
<sonar.version>5.6.6</sonar.version>
9090
<sonar-java.version>3.7</sonar-java.version>
9191
<java.version>1.8</java.version>

0 commit comments

Comments
 (0)