Repository: mina-sshd Updated Branches: refs/heads/master 3df4a6a14 -> 76988ba83
Upgraded to checkstyle 8.1 Project: http://git-wip-us.apache.org/repos/asf/mina-sshd/repo Commit: http://git-wip-us.apache.org/repos/asf/mina-sshd/commit/76988ba8 Tree: http://git-wip-us.apache.org/repos/asf/mina-sshd/tree/76988ba8 Diff: http://git-wip-us.apache.org/repos/asf/mina-sshd/diff/76988ba8 Branch: refs/heads/master Commit: 76988ba83048b82f514e571bfdc08c57603bca3e Parents: 3df4a6a Author: Lyor Goldstein <lyor.goldst...@gmail.com> Authored: Tue Aug 1 22:12:43 2017 +0300 Committer: Lyor Goldstein <lyor.goldst...@gmail.com> Committed: Tue Aug 1 22:12:43 2017 +0300 ---------------------------------------------------------------------- pom.xml | 3 +-- sshd-checkstyle.xml | 18 +++++++++--------- 2 files changed, 10 insertions(+), 11 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/mina-sshd/blob/76988ba8/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 866f9c6..ad4f298 100644 --- a/pom.xml +++ b/pom.xml @@ -599,11 +599,10 @@ </configuration> <dependencies> <!-- see http://checkstyle.sourceforge.net/ for latest version --> - <!-- NOTE: when upgrading see if https://github.com/checkstyle/checkstyle/issues/4472 is solved --> <dependency> <groupId>com.puppycrawl.tools</groupId> <artifactId>checkstyle</artifactId> - <version>8.0</version> + <version>8.1</version> <exclusions> <!-- MCHECKSTYLE-156 --> <exclusion> http://git-wip-us.apache.org/repos/asf/mina-sshd/blob/76988ba8/sshd-checkstyle.xml ---------------------------------------------------------------------- diff --git a/sshd-checkstyle.xml b/sshd-checkstyle.xml index 88a825f..96c4bfe 100644 --- a/sshd-checkstyle.xml +++ b/sshd-checkstyle.xml @@ -272,15 +272,15 @@ <!--<module name="RequiredRegexp">--> <!-- Make the @SuppressWarnings annotations available to Checkstyle --> <module name="SuppressWarningsHolder" /> - </module> - <module name="SuppressionCommentFilter"> - <property name="offCommentFormat" value="CHECKSTYLE\:OFF" /> - <property name="onCommentFormat" value="CHECKSTYLE\:ON" /> - </module> - <module name="SuppressionCommentFilter"> - <property name="offCommentFormat" value="CHECKSTYLE.OFF\:([\w\|]+)" /> - <property name="onCommentFormat" value="CHECKSTYLE.ON\:([\w\|]+)" /> - <property name="checkFormat" value="$1" /> + <module name="SuppressionCommentFilter"> + <property name="offCommentFormat" value="CHECKSTYLE\:OFF" /> + <property name="onCommentFormat" value="CHECKSTYLE\:ON" /> + </module> + <module name="SuppressionCommentFilter"> + <property name="offCommentFormat" value="CHECKSTYLE.OFF\:([\w\|]+)" /> + <property name="onCommentFormat" value="CHECKSTYLE.ON\:([\w\|]+)" /> + <property name="checkFormat" value="$1" /> + </module> </module> <module name="SuppressWarningsFilter" /> <!-- Header checks -->