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

index 6e90938b630a85eb865c560b8b852263cfa2b940..027e401624b6dd78ce060a6e5e24ce96cff1e75c 100644 (file)
@@ -449,7 +449,7 @@ public class AjProblemReporter extends ProblemReporter {
                if (ad.concreteName!=null) {
                        List declares = ad.concreteName.declares;
                        for (Iterator iter = declares.iterator(); iter.hasNext();) {
-                                       Object dec = (Object) iter.next();
+                                       Object dec =  iter.next();
                                        if (dec instanceof DeclareParents) {
                                                DeclareParents decp = (DeclareParents)dec;
                                                TypePattern[] newparents = decp.getParents().getTypePatterns();