Skip to content

Commit

Permalink
Issue #930: upgrade to checkstyle 10.4
Browse files Browse the repository at this point in the history
  • Loading branch information
rnveach authored and romani committed Nov 16, 2022
1 parent f6f1e09 commit 83a2bce
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions eclipse-pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@
</modules>

<properties>
<tycho-version>1.6.0</tycho-version>
<tycho-version>2.7.5</tycho-version>
</properties>

<repositories>
<repository>
<id>2019-06</id>
<id>2020-09</id>
<layout>p2</layout>
<url>https://download.eclipse.org/releases/2019-06</url>
<url>https://download.eclipse.org/releases/2020-09</url>
</repository>
</repositories>

Expand Down
2 changes: 1 addition & 1 deletion eclipsecs-sevntu-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<properties>
<eclipsecs.version>10.0.0-SNAPSHOT</eclipsecs.version>
<!-- verify time version -->
<checkstyle.version>10.3.4</checkstyle.version>
<checkstyle.version>10.4</checkstyle.version>
<checkstyle.configLocation>https://raw.githubusercontent.com/checkstyle/checkstyle/checkstyle-${checkstyle.version}/config/checkstyle_checks.xml</checkstyle.configLocation>
<checkstyle.header>https://raw.githubusercontent.com/checkstyle/checkstyle/master/config/java.header</checkstyle.header>
<checkstyle.regexp.header>https://raw.githubusercontent.com/checkstyle/checkstyle/master/config/java_regexp.header</checkstyle.regexp.header>
Expand Down
2 changes: 1 addition & 1 deletion sevntu-checks/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<properties>
<project.build.sourceEncoding>iso-8859-1</project.build.sourceEncoding>
<!-- It is compile dependency to checkstyle, this version has to be the same as eclipse-cs depends on -->
<checkstyle.eclipse-cs.version>10.0</checkstyle.eclipse-cs.version>
<checkstyle.eclipse-cs.version>10.4</checkstyle.eclipse-cs.version>
<!-- verify time version -->
<checkstyle.version>10.4</checkstyle.version>
<checkstyle.configLocation>https://raw.githubusercontent.com/checkstyle/checkstyle/checkstyle-${checkstyle.version}/config/checkstyle_checks.xml</checkstyle.configLocation>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ private static Set<NullnessAnnotation> findAnnotations(final DetailAST ast) {
for (DetailAST child = modifiers.getFirstChild(); child != null; child =
child.getNextSibling()) {
if (child.getType() == TokenTypes.ANNOTATION) {
addNextNullnessAnnotation(result, (DetailAST) child);
addNextNullnessAnnotation(result, child);
}
}

Expand Down
2 changes: 1 addition & 1 deletion sevntu-checkstyle-sonar-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<checkstyle.version>10.4</checkstyle.version>
<checkstyle.plugin.version>3.1.2</checkstyle.plugin.version>
<checkstyle.plugin.version>3.2.0</checkstyle.plugin.version>
<sonar.version>7.9</sonar.version>
<staxmate.version>2.0.1</staxmate.version>
<java.version>11</java.version>
Expand Down

0 comments on commit 83a2bce

Please sign in to comment.