From: aclement Date: Sat, 23 Aug 2008 04:15:15 +0000 (+0000) Subject: eclipse: unnecessary cast X-Git-Tag: V162DEV_M1~50 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=e92ca66bf589ec2f72afc886641410fd9610d924;p=aspectj.git eclipse: unnecessary cast --- diff --git a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjState.java b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjState.java index f18235bac..849e676ab 100644 --- a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjState.java +++ b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjState.java @@ -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(","); }