diff options
author | mkersten <mkersten> | 2003-08-08 15:37:35 +0000 |
---|---|---|
committer | mkersten <mkersten> | 2003-08-08 15:37:35 +0000 |
commit | 3289df4d8c5a8c8e3ada9c301a0b023dda8524a3 (patch) | |
tree | a9590dc55ab674c5cb759bffb0270e5240918aed /asm | |
parent | 514e76666a7df4b03733ce4bba9c85973b3bf311 (diff) | |
download | aspectj-3289df4d8c5a8c8e3ada9c301a0b023dda8524a3.tar.gz aspectj-3289df4d8c5a8c8e3ada9c301a0b023dda8524a3.zip |
Fixed initialization.
Diffstat (limited to 'asm')
-rw-r--r-- | asm/src/org/aspectj/asm/StructureModelManager.java | 5 |
1 files 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() { |