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

commit 9263825f9eaaf59e0010f99cf121fa21e754f7a3
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Mon Oct 9 10:32:54 2023 -0400

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

diff --git a/checkstyle.xml b/checkstyle.xml
index 5e4d6e1..b4d7232 100644
--- a/checkstyle.xml
+++ b/checkstyle.xml
@@ -160,6 +160,12 @@
     <module name="ArrayTypeStyle" />
     <!--module name="FinalParameters"/ -->
     <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