From: aclement Date: Wed, 27 Apr 2011 20:40:59 +0000 (+0000) Subject: refactor X-Git-Tag: V1_6_12M1~64 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d1ad6dc8e8291d7f9c7277cad206a3e57eb5cd59;p=aspectj.git refactor --- diff --git a/org.aspectj.matcher/src/org/aspectj/weaver/patterns/ExactTypePattern.java b/org.aspectj.matcher/src/org/aspectj/weaver/patterns/ExactTypePattern.java index 0e0997962..bf3ac9018 100644 --- a/org.aspectj.matcher/src/org/aspectj/weaver/patterns/ExactTypePattern.java +++ b/org.aspectj.matcher/src/org/aspectj/weaver/patterns/ExactTypePattern.java @@ -196,7 +196,8 @@ public class ExactTypePattern extends TypePattern { return FuzzyBoolean.YES.and(annotationPattern.matches(matchType)); } - if (type.resolve(matchType.getWorld()).isAssignableFrom(matchType)) { + ResolvedType resolvedType = type.resolve(matchType.getWorld()); + if (resolvedType.isAssignableFrom(matchType)) { return FuzzyBoolean.YES.and(annotationPattern.matches(matchType)); }