You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2023/10/09 14:35:26 UTC

[commons-logging] branch master updated: Use Checkstyle to validate import order

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


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

commit e645fc58d3cd66c121af1d3dac38ce71c62595de
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Mon Oct 9 10:35:22 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 1a1d0e7..2616bf9 100644
--- a/checkstyle.xml
+++ b/checkstyle.xml
@@ -64,6 +64,12 @@ limitations under the License.
     <module name="OperatorWrap">
       <property name="option" value="eol" />
     </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>
 
 </module>