]> source.dussan.org Git - aspectj.git/commitdiff
findbugs: same code in two branches
authoraclement <aclement>
Fri, 22 Aug 2008 19:06:27 +0000 (19:06 +0000)
committeraclement <aclement>
Fri, 22 Aug 2008 19:06:27 +0000 (19:06 +0000)
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java

index 4341ed7f2ce5bfece57c713a5c03d1a9b102dad8..9102939130da75c6247d6df186e75109193be3cc 100644 (file)
@@ -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