]> source.dussan.org Git - aspectj.git/commitdiff
Fixed initialization.
authormkersten <mkersten>
Fri, 8 Aug 2003 15:37:35 +0000 (15:37 +0000)
committermkersten <mkersten>
Fri, 8 Aug 2003 15:37:35 +0000 (15:37 +0000)
asm/src/org/aspectj/asm/StructureModelManager.java

index 6130bfe5915346cdbcfbab20f3ef721ffc3e03b9..acec44ab2c445403adc0de72efb141ef05229d07 100644 (file)
@@ -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() {