From e92ca66bf589ec2f72afc886641410fd9610d924 Mon Sep 17 00:00:00 2001 From: aclement Date: Sat, 23 Aug 2008 04:15:15 +0000 Subject: eclipse: unnecessary cast --- .../src/org/aspectj/ajdt/internal/core/builder/AjState.java | 4 ++-- 1 file 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(","); } -- cgit v1.2.3