]> source.dussan.org Git - aspectj.git/commitdiff
eclipse: unnecessary cast
authoraclement <aclement>
Fri, 22 Aug 2008 19:25:15 +0000 (19:25 +0000)
committeraclement <aclement>
Fri, 22 Aug 2008 19:25:15 +0000 (19:25 +0000)
org.aspectj.ajdt.core/src/org/aspectj/ajdt/ajc/BuildArgParser.java

index b8d925505a1366e89d992673eb3fcffb9e5263d0..dfc31db68caeaf02fe8a15bb09600c5d96d6d1ff 100644 (file)
@@ -357,7 +357,7 @@ public class BuildArgParser extends Main {
                StringTokenizer tokenizer = new StringTokenizer(extdirs, File.pathSeparator);
                while (tokenizer.hasMoreTokens()) {
 //                     classpathCollector.add(tokenizer.nextToken());
-                       File dirFile = new File((String)tokenizer.nextToken());
+                       File dirFile = new File(tokenizer.nextToken());
                        if (dirFile.canRead() && dirFile.isDirectory()) {
                                File[] files = dirFile.listFiles(FileUtil.ZIP_FILTER);
                                for (int i = 0; i < files.length; i++) {