Skip to content

Commit

Permalink
Updated for compatibility with Checkstyle 10.0 (#15)
Browse files Browse the repository at this point in the history
Keeping up with the latest changes.
  • Loading branch information
freemanjp authored Mar 6, 2022
1 parent 6f55561 commit 056199e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions checkstyle-lenient.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

<module name="SuppressWarningsFilter"/>

<!-- Begin Google Java Style from Checkstyle 9.0 -->
<!-- Begin Google Java Style from Checkstyle 10.0 -->
<!--
Checkstyle configuration that checks the Google coding conventions from Google Java Style
that can be found at https://google.github.io/styleguide/javaguide.html
Expand Down Expand Up @@ -114,7 +114,8 @@
<module name="WhitespaceAfter">
<property name="tokens"
value="COMMA, SEMI, TYPECAST, LITERAL_IF, LITERAL_ELSE,
LITERAL_WHILE, LITERAL_DO, LITERAL_FOR, DO_WHILE"/>
LITERAL_WHILE, LITERAL_DO, LITERAL_FOR, DO_WHILE, ELLIPSIS,
LITERAL_SWITCH, LAMBDA"/>
</module>
<module name="WhitespaceAround">
<property name="allowEmptyConstructors" value="true"/>
Expand Down
5 changes: 3 additions & 2 deletions checkstyle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

<module name="SuppressWarningsFilter"/>

<!-- Begin Google Java Style from Checkstyle 9.0 -->
<!-- Begin Google Java Style from Checkstyle 10.0 -->
<!--
Checkstyle configuration that checks the Google coding conventions from Google Java Style
that can be found at https://google.github.io/styleguide/javaguide.html
Expand Down Expand Up @@ -114,7 +114,8 @@
<module name="WhitespaceAfter">
<property name="tokens"
value="COMMA, SEMI, TYPECAST, LITERAL_IF, LITERAL_ELSE,
LITERAL_WHILE, LITERAL_DO, LITERAL_FOR, DO_WHILE"/>
LITERAL_WHILE, LITERAL_DO, LITERAL_FOR, DO_WHILE, ELLIPSIS,
LITERAL_SWITCH, LAMBDA"/>
</module>
<module name="WhitespaceAround">
<property name="allowEmptyConstructors" value="true"/>
Expand Down

0 comments on commit 056199e

Please sign in to comment.