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

commit a49cf9816413bac69aad1b6d0d7946f4c898d291
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Mon Oct 9 08:54:52 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 986fbfd..9dca2ef 100644
--- a/src/conf/checkstyle/checkstyle.xml
+++ b/src/conf/checkstyle/checkstyle.xml
@@ -38,5 +38,11 @@ limitations under the License.
     <module name="JavadocMethod">
       <property name="accessModifiers" value="protected, public"/>
     </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>

Reply via email to