From: mkersten Date: Fri, 8 Aug 2003 15:37:35 +0000 (+0000) Subject: Fixed initialization. X-Git-Tag: V1_1_1~108 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=3289df4d8c5a8c8e3ada9c301a0b023dda8524a3;p=aspectj.git Fixed initialization. --- diff --git a/asm/src/org/aspectj/asm/StructureModelManager.java b/asm/src/org/aspectj/asm/StructureModelManager.java index 6130bfe59..acec44ab2 100644 --- a/asm/src/org/aspectj/asm/StructureModelManager.java +++ b/asm/src/org/aspectj/asm/StructureModelManager.java @@ -34,10 +34,11 @@ public class StructureModelManager { private IRelationshipMapper mapper; private static final IRelationship ADVICE = new Relationship("advises", "advised by", IRelationship.Kind.ADVICE); - private static final IRelationship[] ALL = { ADVICE }; protected StructureModelManager() { - mapper = new RelationshipMapper(Arrays.asList(ALL)); + List relationships = new ArrayList(); + relationships.add(ADVICE); + mapper = new RelationshipMapper(relationships); } public StructureModel getStructureModel() {