diff options
author | Andy Clement <aclement@pivotal.io> | 2019-11-29 07:51:50 -0800 |
---|---|---|
committer | Andy Clement <aclement@pivotal.io> | 2019-11-29 07:51:50 -0800 |
commit | c3c07fdb4b93cc483317d8a314233f0b9dcf4d8b (patch) | |
tree | 9dc548125f81996e5078202758e5bdb5914512f1 /util/src | |
parent | cc88d52fb6c60fbc79a59dec61365b7864baa942 (diff) | |
download | aspectj-c3c07fdb4b93cc483317d8a314233f0b9dcf4d8b.tar.gz aspectj-c3c07fdb4b93cc483317d8a314233f0b9dcf4d8b.zip |
polish
Diffstat (limited to 'util/src')
-rw-r--r-- | util/src/main/java/org/aspectj/util/Reflection.java | 2 | ||||
-rw-r--r-- | util/src/main/java/org/aspectj/util/SoftHashMap.java | 8 | ||||
-rw-r--r-- | util/src/test/java/org/aspectj/util/UtilModuleTests.java | 3 |
3 files changed, 9 insertions, 4 deletions
diff --git a/util/src/main/java/org/aspectj/util/Reflection.java b/util/src/main/java/org/aspectj/util/Reflection.java index 83ceaac23..3650962cc 100644 --- a/util/src/main/java/org/aspectj/util/Reflection.java +++ b/util/src/main/java/org/aspectj/util/Reflection.java @@ -14,7 +14,7 @@ package org.aspectj.util; import java.io.File; -import java.lang.reflect.*; +import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.net.URL; import java.util.ArrayList; diff --git a/util/src/main/java/org/aspectj/util/SoftHashMap.java b/util/src/main/java/org/aspectj/util/SoftHashMap.java index 94ae83441..7660525d1 100644 --- a/util/src/main/java/org/aspectj/util/SoftHashMap.java +++ b/util/src/main/java/org/aspectj/util/SoftHashMap.java @@ -7,8 +7,12 @@ * http://www.eclipse.org/legal/epl-v10.html * ******************************************************************/package org.aspectj.util; -import java.lang.ref.*; -import java.util.*; +import java.lang.ref.ReferenceQueue; +import java.lang.ref.SoftReference; +import java.util.AbstractMap; +import java.util.Collections; +import java.util.HashMap; +import java.util.Map; public class SoftHashMap<K,V> extends AbstractMap<K,V> { private Map<K, SpecialValue> map; diff --git a/util/src/test/java/org/aspectj/util/UtilModuleTests.java b/util/src/test/java/org/aspectj/util/UtilModuleTests.java index 91afd3857..73cb4b77f 100644 --- a/util/src/test/java/org/aspectj/util/UtilModuleTests.java +++ b/util/src/test/java/org/aspectj/util/UtilModuleTests.java @@ -12,8 +12,9 @@ * ******************************************************************/ package org.aspectj.util; -import junit.framework.*; import junit.framework.Test; +import junit.framework.TestCase; +import junit.framework.TestSuite; public class UtilModuleTests extends TestCase { |