From 23cb4d65b0adce8f62d03a62d057d5921026c1b1 Mon Sep 17 00:00:00 2001 From: aclement Date: Sat, 31 May 2008 22:29:37 +0000 Subject: [PATCH] 234943: depend on the right interface --- weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java b/weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java index 4103d0231..10dbe02b7 100644 --- a/weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java +++ b/weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java @@ -80,7 +80,7 @@ import org.aspectj.weaver.WeaverMessages; import org.aspectj.weaver.WeaverStateInfo; import org.aspectj.weaver.World; import org.aspectj.weaver.patterns.AndPointcut; -import org.aspectj.weaver.patterns.BindingAnnotationTypePattern; +import org.aspectj.weaver.patterns.BindingPattern; import org.aspectj.weaver.patterns.BindingTypePattern; import org.aspectj.weaver.patterns.ConcreteCflowPointcut; import org.aspectj.weaver.patterns.DeclareAnnotation; @@ -756,9 +756,9 @@ public class BcelWeaver implements IWeaver { foundFormals[index] = true; } } - List/*BindingAnnotationTypePattern*/ baps = ((NameBindingPointcut)pc).getBindingAnnotationTypePatterns(); + List/* BindingPattern */baps = ((NameBindingPointcut) pc).getBindingAnnotationTypePatterns(); for (Iterator iter = baps.iterator(); iter.hasNext();) { - BindingAnnotationTypePattern bap = (BindingAnnotationTypePattern) iter.next(); + BindingPattern bap = (BindingPattern) iter.next(); int index = bap.getFormalIndex(); bindings[index] = pc; if (foundFormals[index]) { -- 2.39.5