From: aclement Date: Sat, 23 Aug 2008 04:14:42 +0000 (+0000) Subject: eclipse: unnecessary cast X-Git-Tag: V162DEV_M1~52 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=ac7752b807b27ec52bad976b52d10b264a92f034;p=aspectj.git eclipse: unnecessary cast --- diff --git a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java index 6e90938b6..027e40162 100644 --- a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java +++ b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java @@ -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();