aboutsummaryrefslogtreecommitdiffstats
path: root/weaver
diff options
context:
space:
mode:
authorAndy Clement <aclement@vmware.com>2012-03-02 09:19:25 -0800
committerAndy Clement <aclement@vmware.com>2012-03-02 09:19:25 -0800
commitd4a8cc90482cb538a88f74a9aae99a323e547c84 (patch)
tree3f0d3c0d1881fc9d1cb35482d048c161096bd5bd /weaver
parentf37c56e02982a1043e7821bf033b58495f8a6b74 (diff)
downloadaspectj-d4a8cc90482cb538a88f74a9aae99a323e547c84.tar.gz
aspectj-d4a8cc90482cb538a88f74a9aae99a323e547c84.zip
generics
Diffstat (limited to 'weaver')
-rw-r--r--weaver/testsrc/org/aspectj/weaver/WeaverMessagesTestCase.java7
-rw-r--r--weaver/testsrc/org/aspectj/weaver/tools/cache/WeavedClassCacheTest.java2
2 files changed, 3 insertions, 6 deletions
diff --git a/weaver/testsrc/org/aspectj/weaver/WeaverMessagesTestCase.java b/weaver/testsrc/org/aspectj/weaver/WeaverMessagesTestCase.java
index ea5dd9d67..7326971d3 100644
--- a/weaver/testsrc/org/aspectj/weaver/WeaverMessagesTestCase.java
+++ b/weaver/testsrc/org/aspectj/weaver/WeaverMessagesTestCase.java
@@ -18,16 +18,15 @@ import java.util.MissingResourceException;
import junit.framework.TestCase;
/**
- * @author colyer
- *
+ * @author Adrian Colyer
*/
public class WeaverMessagesTestCase extends TestCase {
public void testAllMessagesDefined() {
- Class wmClass = WeaverMessages.class;
+ Class<?> wmClass = WeaverMessages.class;
Field[] fields = wmClass.getDeclaredFields();
- List fieldList = new ArrayList();
+ List<String> fieldList = new ArrayList<String>();
for (int i = 0; i < fields.length; i++) {
Field f = fields[i];
if (f.getType() == String.class) {
diff --git a/weaver/testsrc/org/aspectj/weaver/tools/cache/WeavedClassCacheTest.java b/weaver/testsrc/org/aspectj/weaver/tools/cache/WeavedClassCacheTest.java
index 84406b558..6c3d75a29 100644
--- a/weaver/testsrc/org/aspectj/weaver/tools/cache/WeavedClassCacheTest.java
+++ b/weaver/testsrc/org/aspectj/weaver/tools/cache/WeavedClassCacheTest.java
@@ -18,8 +18,6 @@ import org.aspectj.bridge.IMessage;
import org.aspectj.bridge.IMessageHandler;
import org.aspectj.weaver.tools.GeneratedClassHandler;
-import java.net.URL;
-import java.net.URLClassLoader;
import java.util.HashMap;
import java.util.LinkedList;
import java.util.List;