Skip to content

Commit

Permalink
Sort imports and enforce through Checkstyle
Browse files Browse the repository at this point in the history
  • Loading branch information
garydgregory committed Oct 9, 2023
1 parent 35e4087 commit 12047a3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
6 changes: 6 additions & 0 deletions src/conf/checkstyle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -63,5 +63,11 @@ limitations under the License.
<!-- Indentation style recommended by Oracle -->
<property name="caseIndent" value="0"/>
</module>
<module name="ImportOrder">
<property name="option" value="top"/>
<property name="groups" value="java,javax,junit,org,com"/>
<property name="ordered" value="true"/>
<property name="separated" value="true"/>
</module>
</module>
</module>
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@
import java.util.Map;
import java.util.function.Supplier;

import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;

import org.apache.commons.collections4.list.TreeList;
import org.apache.commons.collections4.map.HashedMap;
import org.apache.commons.collections4.map.LRUMap;
Expand All @@ -38,10 +42,6 @@
import com.google.common.collect.testing.features.ListFeature;
import com.google.common.collect.testing.features.MapFeature;

import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;

/**
* This test uses Google's Guava Testlib testing libraries to validate the
* contract of collection classes in Commons Collections. This was introduced
Expand Down

0 comments on commit 12047a3

Please sign in to comment.