]> source.dussan.org Git - aspectj.git/commitdiff
eclipse: unnecessary cast
authoraclement <aclement>
Fri, 22 Aug 2008 19:07:24 +0000 (19:07 +0000)
committeraclement <aclement>
Fri, 22 Aug 2008 19:07:24 +0000 (19:07 +0000)
ajde.core/testsrc/org/aspectj/ajde/core/tests/InpathTests.java

index d634dcd2b1c0fc7f7878c93b732a5272e6f1131d..2800fd2d4abf8a5b94beede88af6c6899b6ac946 100644 (file)
@@ -367,7 +367,7 @@ public class InpathTests extends AjdeCoreTestCase {
                                new JarInputStream(new java.io.FileInputStream(outjarFile));
 
                        ZipEntry entry;
-                       while (null != (entry = (ZipEntry)outjar.getNextEntry())) {
+                       while (null != (entry = outjar.getNextEntry())) {
                                String zipentryname = entry.getName();
                                if (zipentryname.equals(filename)) {
                                                byte[] filedata = FileUtil.readAsByteArray(outjar);