Skip to content

Commit

Permalink
checkstyle#196 update to CheckStyle 8.18
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Muehlbachler committed Mar 5, 2019
1 parent 51c97f5 commit f635590
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions README.md
Expand Up @@ -23,6 +23,7 @@ Compatibility matrix from checkstyle team:

Checkstyle Plugin|Sonar|Checkstyle|Jdk
-----------------|-----|----------|---
4.18|6.7 |8.18|1.8
4.17|6.7 |8.17|1.8
4.16|5.6.6|8.16|1.8
4.15|5.6.6|8.15|1.8
Expand Down
Expand Up @@ -60,6 +60,7 @@ public class CheckstyleProfileImporter extends ProfileImporter {
"SuppressWarningsFilter",
"SuppressionCommentFilter",
"SuppressWithNearbyCommentFilter",
"SuppressionXpathSingleFilter",
};
private final RuleFinder ruleFinder;

Expand Down
Expand Up @@ -241,7 +241,7 @@ rule.checkstyle.com.puppycrawl.tools.checkstyle.checks.coding.IllegalTypeCheck.n
rule.checkstyle.com.puppycrawl.tools.checkstyle.checks.coding.IllegalTypeCheck.param.ignoredMethodNames=methods that should not be checked
rule.checkstyle.com.puppycrawl.tools.checkstyle.checks.coding.IllegalTypeCheck.param.illegalClassNames=classes that should not be used as types in variable declarations, return values or parameters.
rule.checkstyle.com.puppycrawl.tools.checkstyle.checks.coding.IllegalTypeCheck.param.legalAbstractClassNames=abstract classes that may be used as types.
rule.checkstyle.com.puppycrawl.tools.checkstyle.checks.coding.IllegalTypeCheck.param.format=pattern for illegal class name
rule.checkstyle.com.puppycrawl.tools.checkstyle.checks.coding.IllegalTypeCheck.param.illegalAbstractClassNameFormat=pattern for illegal class name
rule.checkstyle.com.puppycrawl.tools.checkstyle.checks.coding.IllegalTypeCheck.param.memberModifiers=Methods and fields with only corresponding modifiers (comma separated). Available options are: LITERAL_PUBLIC, LITERAL_PROTECTED, LITERAL_PRIVATE, ABSTRACT, LITERAL_STATIC, FINAL, LITERAL_TRANSIENT, LITERAL_VOLATILE, LITERAL_SYNCHRONIZED, LITERAL_NATIVE, STRICTFP, ANNOTATION, LITERAL_DEFAULT
rule.checkstyle.com.puppycrawl.tools.checkstyle.checks.coding.IllegalTypeCheck.param.tokens=tokens to check
rule.checkstyle.com.puppycrawl.tools.checkstyle.checks.coding.IllegalTypeCheck.param.validateAbstractClassNames=Whether to validate abstract class names
Expand Down
Expand Up @@ -715,7 +715,7 @@
<param key="ignoredMethodNames" type="s{}">
<defaultValue>"getInitialContext,getEnvironment"</defaultValue>
</param>
<param key="format" type="REGULAR_EXPRESSION">
<param key="illegalAbstractClassNameFormat" type="REGULAR_EXPRESSION">
<defaultValue>^(.*[\\.])?Abstract.*$</defaultValue>
</param>
<!--
Expand Down Expand Up @@ -1938,7 +1938,7 @@
<param key="allowSamelineParameterizedAnnotation" type="BOOLEAN">
<defaultValue>false</defaultValue>
</param>
<param key="tokens" type="s[CLASS_DEF,INTERFACE_DEF,ENUM_DEF,METHOD_DEF,CTOR_DEF,VARIABLE_DEF,PARAMETER_DEF,ANNOTATION_DEF,TYPECAST,LITERAL_THROWS,IMPLEMENTS_CLAUSE,TYPE_ARGUMENT,LITERAL_NEW,DOT,ANNOTATION_FIELD_DEF]">
<param key="tokens" type="s[CLASS_DEF,INTERFACE_DEF,ENUM_DEF,METHOD_DEF,CTOR_DEF,VARIABLE_DEF,PARAMETER_DEF,ANNOTATION_DEF,ANNOTATION_FIELD_DEF]">
<defaultValue>CLASS_DEF,INTERFACE_DEF,ENUM_DEF,METHOD_DEF,CTOR_DEF,VARIABLE_DEF</defaultValue>
</param>
</rule>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Expand Up @@ -84,7 +84,7 @@
</ciManagement>

<properties>
<checkstyle.version>8.17</checkstyle.version>
<checkstyle.version>8.18</checkstyle.version>
<sonar.version>6.7</sonar.version>
<sonar-java.version>5.9.1.16423</sonar-java.version>
<java.version>1.8</java.version>
Expand Down

0 comments on commit f635590

Please sign in to comment.