summaryrefslogtreecommitdiffstats
path: root/weaver
diff options
context:
space:
mode:
authoraclement <aclement>2008-08-22 19:06:27 +0000
committeraclement <aclement>2008-08-22 19:06:27 +0000
commitde141f0c33f315718142a73d0d79d4cace5be98e (patch)
treed1f199db9f5da8e832d22bba726e706021bcad62 /weaver
parent857ccd57e7eed20e71bdb98f62e45a8bd465df81 (diff)
downloadaspectj-de141f0c33f315718142a73d0d79d4cace5be98e.tar.gz
aspectj-de141f0c33f315718142a73d0d79d4cace5be98e.zip
findbugs: same code in two branches
Diffstat (limited to 'weaver')
-rw-r--r--weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java6
1 files changed, 1 insertions, 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