You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2025/02/09 20:05:11 UTC

(commons-io) 04/14: Sort Checkstyle entries

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

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-io.git

commit d1766304cf5109dab6b5d549beaa26a3d9b0b79e
Author: Gary D. Gregory <ga...@gmail.com>
AuthorDate: Sun Feb 9 13:56:32 2025 -0500

    Sort Checkstyle entries
---
 src/conf/checkstyle.xml | 20 +++++++-------------
 1 file changed, 7 insertions(+), 13 deletions(-)

diff --git a/src/conf/checkstyle.xml b/src/conf/checkstyle.xml
index 16b81ce9e..19ff3c110 100644
--- a/src/conf/checkstyle.xml
+++ b/src/conf/checkstyle.xml
@@ -27,6 +27,7 @@ limitations under the License.
   <module name="LineLength">
     <property name="max" value="160" />
   </module>
+  <!-- @author tags are deprecated -->
   <module name="RegexpSingleline">
     <property name="format" value="^\s+\*\s+@author\s" />
     <property name="message" value="Deprecated @author tag" />
@@ -34,21 +35,19 @@ limitations under the License.
     <property name="severity" value="warning" />
   </module>
   <module name="TreeWalker">
-    <module name="WhitespaceAfter" />
     <module name="AvoidStarImport" />
-    <module name="RedundantImport" />
-    <module name="UnusedImports" />
+    <module name="FinalLocalVariable" />
     <module name="ImportOrder">
       <property name="option" value="top"/>
       <property name="groups" value="java,javax,org"/>
       <property name="ordered" value="true"/>
       <property name="separated" value="true"/>
     </module>
+    <module name="JavadocMethod" />
+    <module name="LeftCurly" />
     <module name="NeedBraces" />
     <module name="ParenPad" />
-    <module name="LeftCurly" />
-    <module name="JavadocMethod" />
-    <module name="FinalLocalVariable" />
+    <module name="RedundantImport" />
     <!-- No Trailing whitespace -->
     <module name="Regexp">
       <property name="format" value="[ \t]+$" />
@@ -56,12 +55,7 @@ limitations under the License.
       <property name="message" value="Trailing whitespace" />
     </module>
     <module name="TypecastParenPad" />
-  </module>
-  <!-- @author tags are deprecated -->
-  <module name="RegexpSingleline">
-    <property name="format" value="^\s+\*\s+@author\s" />
-    <property name="message" value="Deprecated @author tag" />
-    <property name="fileExtensions" value="java" />
-    <property name="severity" value="warning" />
+    <module name="UnusedImports" />
+    <module name="WhitespaceAfter" />
   </module>
 </module>