From: aclement Date: Fri, 22 Aug 2008 19:06:27 +0000 (+0000) Subject: findbugs: same code in two branches X-Git-Tag: V162DEV_M1~80 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=de141f0c33f315718142a73d0d79d4cace5be98e;p=aspectj.git findbugs: same code in two branches --- diff --git a/weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java b/weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java index 4341ed7f2..910293913 100644 --- a/weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java +++ b/weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java @@ -121,11 +121,7 @@ public class BcelTypeMunger extends ConcreteTypeMunger { } if (changed && worthReporting) { - if (munger.getKind().equals(ResolvedTypeMunger.Parent)) { - AsmRelationshipProvider.getDefault().addRelationship(weaver.getLazyClassGen().getType(), munger,getAspectType()); - } else { - AsmRelationshipProvider.getDefault().addRelationship(weaver.getLazyClassGen().getType(), munger,getAspectType()); - } + AsmRelationshipProvider.getDefault().addRelationship(weaver.getLazyClassGen().getType(), munger,getAspectType()); } // TAG: WeavingMessage