diff options
author | aclement <aclement> | 2008-08-23 04:15:15 +0000 |
---|---|---|
committer | aclement <aclement> | 2008-08-23 04:15:15 +0000 |
commit | e92ca66bf589ec2f72afc886641410fd9610d924 (patch) | |
tree | e0b1b5d73039bdda1351d3895f533f87e7a037f0 | |
parent | 72c97266d764c29b3553b71bb9fb6bb6b0266c3f (diff) | |
download | aspectj-e92ca66bf589ec2f72afc886641410fd9610d924.tar.gz aspectj-e92ca66bf589ec2f72afc886641410fd9610d924.zip |
eclipse: unnecessary cast
-rw-r--r-- | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjState.java | 4 |
1 files changed, 2 insertions, 2 deletions
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(","); } |