From: aclement Date: Tue, 3 Mar 2009 00:57:07 +0000 (+0000) Subject: findbugs: dont compare wrong types X-Git-Tag: pre268419~53 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=8c3cc76b493a89bd170a6f9c9dc1b80e34f1e3ab;p=aspectj.git findbugs: dont compare wrong types --- 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; } }