diff options
author | Andy Clement <aclement@gopivotal.com> | 2014-04-04 11:58:06 -0700 |
---|---|---|
committer | Andy Clement <aclement@gopivotal.com> | 2014-04-04 11:58:06 -0700 |
commit | 022196c5cb5fce666c6f746e4f698d4b03081e7b (patch) | |
tree | ef4979c94cedb860949cb6349c17e14ed04f437f /tests | |
parent | 49f7b55032e2cacc68c01bfc1a1967633e6e8e9d (diff) | |
download | aspectj-022196c5cb5fce666c6f746e4f698d4b03081e7b.tar.gz aspectj-022196c5cb5fce666c6f746e4f698d4b03081e7b.zip |
polish
Diffstat (limited to 'tests')
-rw-r--r-- | tests/src/org/aspectj/systemtest/ajc150/DeclareAnnotationTests.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/src/org/aspectj/systemtest/ajc150/DeclareAnnotationTests.java b/tests/src/org/aspectj/systemtest/ajc150/DeclareAnnotationTests.java index a5d0b7d8b..6ccca0e15 100644 --- a/tests/src/org/aspectj/systemtest/ajc150/DeclareAnnotationTests.java +++ b/tests/src/org/aspectj/systemtest/ajc150/DeclareAnnotationTests.java @@ -18,6 +18,7 @@ import junit.framework.Test; import org.aspectj.asm.AsmManager; import org.aspectj.asm.IHierarchy; import org.aspectj.asm.IProgramElement; +import org.aspectj.asm.IRelationship; import org.aspectj.testing.XMLBasedAjcTestCase; public class DeclareAnnotationTests extends XMLBasedAjcTestCase { @@ -299,7 +300,7 @@ public class DeclareAnnotationTests extends XMLBasedAjcTestCase { "declare @type: p.q.DeathByAnnotations : @Colored(\"red\")"); assertTrue("Couldn't find 'declare @type' element in the tree", ipe != null); - List l = AsmManager.lastActiveStructureModel.getRelationshipMap().get(ipe); + List<IRelationship> l = AsmManager.lastActiveStructureModel.getRelationshipMap().get(ipe); assertTrue("Should have a relationship but does not ", l != null && l.size() > 0); ipe = top.findElementForLabel(top.getRoot(), IProgramElement.Kind.DECLARE_ANNOTATION_AT_METHOD, |