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


The following commit(s) were added to refs/heads/master by this push:
     new 57d58764 Sort imports and enforce through Checkstyle
57d58764 is described below

commit 57d58764f7c88414ccecd50da14035999a817fb0
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Mon Oct 9 08:08:27 2023 -0400

    Sort imports and enforce through Checkstyle
---
 src/conf/checkstyle.xml                                          | 6 ++++++
 src/test/java/org/apache/commons/beanutils2/BeanMapTestCase.java | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/src/conf/checkstyle.xml b/src/conf/checkstyle.xml
index d0391f78..ad865d61 100644
--- a/src/conf/checkstyle.xml
+++ b/src/conf/checkstyle.xml
@@ -48,6 +48,12 @@ limitations under the License.
     <module name="JavadocMethod">
       <property name="accessModifiers" value="protected"/>
     </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>
   <!-- Line with trailing spaces -->
   <module name="RegexpSingleline">
diff --git a/src/test/java/org/apache/commons/beanutils2/BeanMapTestCase.java 
b/src/test/java/org/apache/commons/beanutils2/BeanMapTestCase.java
index 54d97ca4..59807e21 100644
--- a/src/test/java/org/apache/commons/beanutils2/BeanMapTestCase.java
+++ b/src/test/java/org/apache/commons/beanutils2/BeanMapTestCase.java
@@ -22,8 +22,8 @@ import java.lang.reflect.Method;
 import java.util.Map;
 
 import org.apache.commons.beanutils2.bugs.other.Jira87BeanFactory;
-import org.apache.commons.collections4.map.AbstractMapTest;
 import org.apache.commons.collections4.BulkTest;
+import org.apache.commons.collections4.map.AbstractMapTest;
 
 import junit.framework.Test;
 import junit.textui.TestRunner;

Reply via email to