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-validator.git

commit ce455251e37b68965f1b5b69a12ab6f7367ebc91
Author: Gary D. Gregory <garydgreg...@gmail.com>
AuthorDate: Sun Dec 29 08:23:20 2024 -0500

    Sort checkstyle modules
---
 src/conf/checkstyle/checkstyle.xml | 42 +++++++++++++++++++-------------------
 1 file changed, 21 insertions(+), 21 deletions(-)

diff --git a/src/conf/checkstyle/checkstyle.xml 
b/src/conf/checkstyle/checkstyle.xml
index ede1da6f..3c0b005f 100644
--- a/src/conf/checkstyle/checkstyle.xml
+++ b/src/conf/checkstyle/checkstyle.xml
@@ -19,6 +19,27 @@
     "-//Checkstyle//DTD Checkstyle Configuration 1.3//EN"
     "https://checkstyle.org/dtds/configuration_1_3.dtd";>
 <module name="Checker">
+  <module name="FileTabCharacter">
+    <property name="fileExtensions" value="java,xml" />
+  </module>
+  <module name="JavadocPackage" />
+  <module name="RegexpSingleline">
+    <property name="format" 
value="((public)|(protected))\s+void\s+finalize\(\s*\)" />
+    <property name="message" value="Avoid finalizers." />
+  </module>
+  <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>
+  <module name="RegexpSingleline">
+    <property name="format" value="\s+$" />
+    <property name="message" value="Line has trailing spaces." />
+  </module>
+  <module name="SuppressionFilter">
+    <property name="file" 
value="src/conf/checkstyle/checkstyle-suppressions.xml" />
+  </module>
   <module name="TreeWalker">
     <module name="AvoidStarImport" />
     <module name="ConstantName" />
@@ -87,25 +108,4 @@
     <module name="WhitespaceAround"/>
     <module name="WhitespaceAroundCheck"/>
   </module>
-  <module name="JavadocPackage" />
-  <module name="RegexpSingleline">
-    <property name="format" 
value="((public)|(protected))\s+void\s+finalize\(\s*\)" />
-    <property name="message" value="Avoid finalizers." />
-  </module>
-  <module name="FileTabCharacter">
-    <property name="fileExtensions" value="java,xml" />
-  </module>
-  <module name="SuppressionFilter">
-    <property name="file" 
value="src/conf/checkstyle/checkstyle-suppressions.xml" />
-  </module>
-  <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>
-  <module name="RegexpSingleline">
-    <property name="format" value="\s+$" />
-    <property name="message" value="Line has trailing spaces." />
-  </module>
 </module>

Reply via email to