]> source.dussan.org Git - aspectj.git/commitdiff
eclipse: unnecessary cast
authoraclement <aclement>
Sat, 23 Aug 2008 04:15:15 +0000 (04:15 +0000)
committeraclement <aclement>
Sat, 23 Aug 2008 04:15:15 +0000 (04:15 +0000)
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjState.java

index f18235bac0f649396396c21dae38a2ba903086a8..849e676ab1464afd96a336425a9227372ce9ebfd 100644 (file)
@@ -753,7 +753,7 @@ public class AjState {
                        
                        if(addedFiles != null) {
                            for (Iterator fIter = addedFiles.iterator(); fIter.hasNext();) {
-                    Object o = (Object) fIter.next();
+                    Object o = fIter.next();
                     if (!thisTime.contains(o))
                         thisTime.add(o);
                 }
@@ -1347,7 +1347,7 @@ public class AjState {
          StringBuffer sb = new StringBuffer();
          sb.append("{");
          for (Iterator iter = l.iterator(); iter.hasNext();) {
-                       Object el = (Object) iter.next();
+                       Object el = iter.next();
                        sb.append(el);
                        if (iter.hasNext()) sb.append(",");
                }