Browse Source

Fixed initialization.

tags/V1_1_1
mkersten 21 years ago
parent
commit
3289df4d8c
1 changed files with 3 additions and 2 deletions
  1. 3
    2
      asm/src/org/aspectj/asm/StructureModelManager.java

+ 3
- 2
asm/src/org/aspectj/asm/StructureModelManager.java View 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() {

Loading…
Cancel
Save