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

commit fc767bbc110faaa68cdf5788718155b2dc0995a3
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Mon Oct 9 08:59:09 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 54fad1cd..42be5f3e 100644
--- a/src/conf/checkstyle.xml
+++ b/src/conf/checkstyle.xml
@@ -126,6 +126,12 @@
     </module>
     <!-- <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