diff options
author | Andy Clement <aclement@vmware.com> | 2012-03-02 08:15:27 -0800 |
---|---|---|
committer | Andy Clement <aclement@vmware.com> | 2012-03-02 08:15:27 -0800 |
commit | 548f8b6a118d06874d511ffcc13602b4ec756d9a (patch) | |
tree | 335d9380e1e9f0749a5fadc48966df0a8f80daf6 /testing/testsrc/org | |
parent | 3fa7416111b06016398973d144ddc29cf360ef34 (diff) | |
download | aspectj-548f8b6a118d06874d511ffcc13602b4ec756d9a.tar.gz aspectj-548f8b6a118d06874d511ffcc13602b4ec756d9a.zip |
generics
Diffstat (limited to 'testing/testsrc/org')
-rw-r--r-- | testing/testsrc/org/aspectj/testing/taskdefs/AjcTaskCompileCommandTest.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/testing/testsrc/org/aspectj/testing/taskdefs/AjcTaskCompileCommandTest.java b/testing/testsrc/org/aspectj/testing/taskdefs/AjcTaskCompileCommandTest.java index f6e59abdc..6ab5a386b 100644 --- a/testing/testsrc/org/aspectj/testing/taskdefs/AjcTaskCompileCommandTest.java +++ b/testing/testsrc/org/aspectj/testing/taskdefs/AjcTaskCompileCommandTest.java @@ -32,7 +32,7 @@ import junit.framework.TestCase; public class AjcTaskCompileCommandTest extends TestCase { static boolean loggedWarning = false; static boolean runAllTests = true; - static ArrayList tempFiles = new ArrayList(); + static ArrayList<File> tempFiles = new ArrayList<File>(); private static File getClassesDir() { File tempDir = FileUtil.getTempDir("AjcTaskCompileCommandTest-classes"); @@ -40,7 +40,7 @@ public class AjcTaskCompileCommandTest extends TestCase { return tempDir; } - private static void addCommonArgs(ArrayList list) { + private static void addCommonArgs(ArrayList<String> list) { list.add("-d"); list.add(getClassesDir().getAbsolutePath()); list.add("-classpath"); @@ -109,7 +109,7 @@ public class AjcTaskCompileCommandTest extends TestCase { void runSimpleTest(String path, int expectedErrors) { File file = new File(path); assertTrue(path, file.canRead()); - ArrayList list = new ArrayList(); + ArrayList<String> list = new ArrayList<String>(); addCommonArgs(list); if (path.endsWith(".lst")) { list.add("-argfile"); @@ -123,7 +123,7 @@ public class AjcTaskCompileCommandTest extends TestCase { runTest(list, expectedErrors); } - void runTest(ArrayList args, int expectedErrors) { + void runTest(ArrayList<String> args, int expectedErrors) { AjcTaskCompileCommand command = new AjcTaskCompileCommand(); MessageHandler handler = new MessageHandler(); |