From d1ad6dc8e8291d7f9c7277cad206a3e57eb5cd59 Mon Sep 17 00:00:00 2001 From: aclement Date: Wed, 27 Apr 2011 20:40:59 +0000 Subject: [PATCH] refactor --- .../src/org/aspectj/weaver/patterns/ExactTypePattern.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)); } -- 2.39.5