From 3289df4d8c5a8c8e3ada9c301a0b023dda8524a3 Mon Sep 17 00:00:00 2001 From: mkersten Date: Fri, 8 Aug 2003 15:37:35 +0000 Subject: [PATCH] Fixed initialization. --- asm/src/org/aspectj/asm/StructureModelManager.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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() { -- 2.39.5