Sort imports and enforce through Checkstyle

This commit is contained in:
Gary Gregory 2023-10-09 08:15:40 -04:00
parent 35e4087173
commit 12047a30ed
2 changed files with 10 additions and 4 deletions

View File

@ -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>

View File

@ -22,6 +22,10 @@ import java.util.List;
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;
@ -38,10 +42,6 @@ import com.google.common.collect.testing.features.Feature;
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