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


The following commit(s) were added to refs/heads/master by this push:
     new 1e671c45 Use Checkstyle to validate import order
1e671c45 is described below

commit 1e671c452c83dc10e37e159138c00b9bb5348b7b
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Mon Oct 9 10:36:14 2023 -0400

    Use Checkstyle to validate import order
---
 src/conf/checkstyle.xml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/conf/checkstyle.xml b/src/conf/checkstyle.xml
index e3c1173b..c73e4697 100644
--- a/src/conf/checkstyle.xml
+++ b/src/conf/checkstyle.xml
@@ -89,6 +89,12 @@ limitations under the License.
       <property name="commentFormat" value="CHECKSTYLE IGNORE (\w+)"/>
       <property name="checkFormat" value="$1"/>
     </module>
+    <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>
 

Reply via email to