From 5ed6f1500ee1ce8110a2000cb738fa6bfae7de3c Mon Sep 17 00:00:00 2001 From: aclement Date: Thu, 24 Mar 2005 15:17:10 +0000 Subject: [PATCH] Don't report unimportant relationships (e.g. perobject) --- weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java b/weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java index 61df9e161..345ff9cc0 100644 --- a/weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java +++ b/weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java @@ -101,7 +101,7 @@ public class BcelTypeMunger extends ConcreteTypeMunger { // Whilst type mungers aren't persisting their source locations, we add this relationship during // compilation time (see other reference to ResolvedTypeMunger.persist) if (ResolvedTypeMunger.persistSourceLocation) { - if (changed) { + if (changed && worthReporting) { if (munger.getKind().equals(ResolvedTypeMunger.Parent)) { AsmRelationshipProvider.getDefault().addRelationship(weaver.getLazyClassGen().getType(), munger,getAspectType()); } else { -- 2.39.5