Skip to content

Commit

Permalink
updates checkstyle to v3.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
hneemann committed Feb 1, 2020
1 parent 792bcc4 commit 7b92e1d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 16 deletions.
11 changes: 2 additions & 9 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -79,14 +79,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>2.17</version>
<dependencies>
<dependency>
<groupId>com.puppycrawl.tools</groupId>
<artifactId>checkstyle</artifactId>
<version>8.18</version>
</dependency>
</dependencies>
<version>3.1.0</version>
</plugin>
</plugins>
</pluginManagement>
Expand Down Expand Up @@ -174,7 +167,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>2.17</version>
<version>3.1.0</version>
<executions>
<execution>
<id>validate</id>
Expand Down
13 changes: 6 additions & 7 deletions sun_checks_neemann.xml
Original file line number Diff line number Diff line change
Expand Up @@ -71,14 +71,13 @@
<property name="message" value="Line has trailing spaces."/>
</module>

<module name="TreeWalker">

<module name="SuppressionCommentFilter">
<property name="offCommentFormat" value="CHECKSTYLE.OFF\: ([\w\|]+)"/>
<property name="onCommentFormat" value="CHECKSTYLE.ON\: ([\w\|]+)"/>
<property name="checkFormat" value="$1"/>
</module>
<module name="SuppressWithPlainTextCommentFilter">
<property name="offCommentFormat" value="CHECKSTYLE.OFF\: ([\w\|]+)"/>
<property name="onCommentFormat" value="CHECKSTYLE.ON\: ([\w\|]+)"/>
<property name="checkFormat" value="$1"/>
</module>

<module name="TreeWalker">
<!-- Checks for Javadoc comments. -->
<!-- See http://checkstyle.sf.net/config_javadoc.html -->
<module name="JavadocMethod">
Expand Down

0 comments on commit 7b92e1d

Please sign in to comment.