From 8c3cc76b493a89bd170a6f9c9dc1b80e34f1e3ab Mon Sep 17 00:00:00 2001 From: aclement Date: Tue, 3 Mar 2009 00:57:07 +0000 Subject: [PATCH] findbugs: dont compare wrong types --- weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java b/weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java index d1918fdbe..9975791ad 100644 --- a/weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java +++ b/weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java @@ -1247,7 +1247,7 @@ public class BcelTypeMunger extends ConcreteTypeMunger { LazyMethodGen m = (LazyMethodGen) i.next(); if (m.getName().equals(introduced.getName()) && m.getParameterSignature().equals(introduced.getParameterSignature()) - && m.getReturnType().equals(introduced.getReturnType())) { + && m.getReturnType().equals(BcelWorld.makeBcelType(introduced.getReturnType()))) { isOK = true; } } -- 2.39.5