From fff77228eb2ae9b22aef5bdf9254ed188d963546 Mon Sep 17 00:00:00 2001 From: aclement Date: Mon, 2 Nov 2009 16:42:16 +0000 Subject: [PATCH] formatted --- .../internal/compiler/lookup/AjLookupEnvironment.java | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/AjLookupEnvironment.java b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/AjLookupEnvironment.java index 09bfa4db6..a7f48724e 100644 --- a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/AjLookupEnvironment.java +++ b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/AjLookupEnvironment.java @@ -124,7 +124,6 @@ public class AjLookupEnvironment extends LookupEnvironment implements AnonymousC } // ??? duplicates some of super's code - @Override public void completeTypeBindings() { AsmManager.setCompletingTypeBindings(true); ContextToken completeTypeBindingsToken = CompilationAndWeavingContext.enteringPhase( @@ -572,8 +571,8 @@ public class AjLookupEnvironment extends LookupEnvironment implements AnonymousC } } - private void weaveInterTypeDeclarations(SourceTypeBinding sourceType, Collection typeMungers, Collection declareParents, - Collection declareAnnotationOnTypes, boolean skipInners) { + private void weaveInterTypeDeclarations(SourceTypeBinding sourceType, Collection typeMungers, Collection declareParents, + Collection declareAnnotationOnTypes, boolean skipInners) { ContextToken tok = CompilationAndWeavingContext.enteringPhase(CompilationAndWeavingContext.WEAVING_INTERTYPE_DECLARATIONS, sourceType.sourceName); @@ -678,7 +677,7 @@ public class AjLookupEnvironment extends LookupEnvironment implements AnonymousC } decpToRepeat.removeAll(forRemoval); - forRemoval = new ArrayList(); + forRemoval.clear(); for (Iterator i = declareAnnotationOnTypes.iterator(); i.hasNext();) { DeclareAnnotation deca = (DeclareAnnotation) i.next(); boolean didSomething = doDeclareAnnotations(deca, sourceType, false); @@ -705,8 +704,6 @@ public class AjLookupEnvironment extends LookupEnvironment implements AnonymousC onType.checkInterTypeMungers(); for (Iterator i = onType.getInterTypeMungers().iterator(); i.hasNext();) { EclipseTypeMunger munger = (EclipseTypeMunger) i.next(); - // System.out.println("applying: " + munger + " to " + new - // String(sourceType.sourceName)); munger.munge(sourceType, onType); } -- 2.39.5