You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mina.apache.org by lg...@apache.org on 2019/11/17 18:33:10 UTC

[mina-sshd] 03/07: Upgraded Checkstyle module to 8.26

This is an automated email from the ASF dual-hosted git repository.

lgoldstein pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mina-sshd.git

commit 1b6086671509a9f57b18e1172deebf283c85214a
Author: Lyor Goldstein <lg...@apache.org>
AuthorDate: Sun Nov 17 19:51:07 2019 +0200

    Upgraded Checkstyle module to 8.26
---
 pom.xml             |  2 +-
 sshd-checkstyle.xml | 10 +++++-----
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/pom.xml b/pom.xml
index 428c69f..d26435a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -823,7 +823,7 @@
                         <dependency>
                             <groupId>com.puppycrawl.tools</groupId>
                             <artifactId>checkstyle</artifactId>
-                            <version>8.22</version>
+                            <version>8.26</version>
                             <exclusions>
                                 <!-- MCHECKSTYLE-156 -->
                                 <exclusion>
diff --git a/sshd-checkstyle.xml b/sshd-checkstyle.xml
index cc540e4..be4a7f7 100644
--- a/sshd-checkstyle.xml
+++ b/sshd-checkstyle.xml
@@ -23,13 +23,13 @@
 	<module name="Translation" />
 
 	<!--<module name="StrictDuplicateCode" />-->
-
-	<module name="TreeWalker">
-        <module name="LineLength">
-            <property name="max" value="180" />
-        </module>
+    <module name="LineLength">
+        <property name="max" value="180" />
         <property name="fileExtensions" value="java" />
+    </module>
 
+	<module name="TreeWalker">
+        <property name="tabWidth" value="4"/>
             <!-- Checks for Javadoc comments.                     -->
             <!-- See http://checkstyle.sf.net/config_javadoc.html -->
             <!--