From de141f0c33f315718142a73d0d79d4cace5be98e Mon Sep 17 00:00:00 2001 From: aclement Date: Fri, 22 Aug 2008 19:06:27 +0000 Subject: [PATCH] findbugs: same code in two branches --- weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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 -- 2.39.5