From: Andy Clement Date: Fri, 4 Apr 2014 18:58:06 +0000 (-0700) Subject: polish X-Git-Tag: V1_8_0RC3~3 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=022196c5cb5fce666c6f746e4f698d4b03081e7b;p=aspectj.git polish --- 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 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,