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


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

commit ae3757d0bd8f2df37def27ac1af7a12598d8fd46
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Mon Oct 9 09:21:05 2023 -0400

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

diff --git a/src/conf/checkstyle/checkstyle.xml 
b/src/conf/checkstyle/checkstyle.xml
index 3003ffd..41c5c77 100644
--- a/src/conf/checkstyle/checkstyle.xml
+++ b/src/conf/checkstyle/checkstyle.xml
@@ -173,6 +173,12 @@
     <!-- module name="FinalParameters"/ -->
     <module name="TodoComment" />
     <module name="UpperEll" />
+    <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