Skip to content

Commit 9bb7c76

Browse files
committed
Issue #118: upgrade to checkstyle 8.1
1 parent 3965c77 commit 9bb7c76

File tree

4 files changed

+2
-5
lines changed

4 files changed

+2
-5
lines changed

checkstyle-sonar-plugin/src/main/resources/org/sonar/l10n/checkstyle.properties

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,6 @@ rule.checkstyle.com.puppycrawl.tools.checkstyle.checks.blocks.EmptyCatchBlockChe
499499
rule.checkstyle.com.puppycrawl.tools.checkstyle.checks.blocks.EmptyCatchBlockCheck.param.commentFormat=Format of comment.
500500
rule.checkstyle.com.puppycrawl.tools.checkstyle.checks.imports.ImportControlCheck.name=Import Control
501501
rule.checkstyle.com.puppycrawl.tools.checkstyle.checks.imports.ImportControlCheck.param.file=name of the file containing the import control configuration
502-
rule.checkstyle.com.puppycrawl.tools.checkstyle.checks.imports.ImportControlCheck.param.url=URL of the file containing the import control configuration
503502
rule.checkstyle.com.puppycrawl.tools.checkstyle.checks.imports.ImportControlCheck.param.path=Regular expression of file paths to which this check should apply.
504503
rule.checkstyle.com.puppycrawl.tools.checkstyle.checks.indentation.CommentsIndentationCheck.name=Comments Indentation
505504
rule.checkstyle.com.puppycrawl.tools.checkstyle.checks.indentation.CommentsIndentationCheck.param.tokens=tokens to check

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2002,8 +2002,6 @@
20022002
<configKey><![CDATA[Checker/TreeWalker/ImportControl]]></configKey>
20032003
<param key="file" type="STRING">
20042004
</param>
2005-
<param key="url" type="STRING">
2006-
</param>
20072005
<param key="path" type="REGULAR_EXPRESSION">
20082006
<defaultValue>.*</defaultValue>
20092007
</param>

checkstyle-sonar-plugin/test-resources/checkstyle-conf.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
<!DOCTYPE module PUBLIC "-//Puppy Crawl//DTD Check Configuration 1.2//EN" "http://www.puppycrawl.com/dtds/configuration_1_2.dtd">
33
<!-- Generated by Sonar -->
44
<module name="Checker">
5-
<module name="SuppressionCommentFilter"/>
65
<module name="JavadocPackage">
76
<property name="severity" value="warning"/>
87
</module>
98
<module name="TreeWalker">
9+
<module name="SuppressionCommentFilter"/>
1010
<module name="FileContentsHolder"/>
1111
<module name="EmptyStatement">
1212
<property name="severity" value="info"/>

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>8.0</checkstyle.version>
88+
<checkstyle.version>8.1</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)