]> source.dussan.org Git - aspectj.git/commitdiff
findbugs: dont compare wrong types
authoraclement <aclement>
Tue, 3 Mar 2009 00:57:07 +0000 (00:57 +0000)
committeraclement <aclement>
Tue, 3 Mar 2009 00:57:07 +0000 (00:57 +0000)
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java

index d1918fdbe9b2c444bdac3df2a09c92ff178926f8..9975791adcc2db85d0b6f105db9f9e10acc4a5e3 100644 (file)
@@ -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;
                                        }
                                }