From 022196c5cb5fce666c6f746e4f698d4b03081e7b Mon Sep 17 00:00:00 2001 From: Andy Clement Date: Fri, 4 Apr 2014 11:58:06 -0700 Subject: [PATCH] polish --- .../org/aspectj/systemtest/ajc150/DeclareAnnotationTests.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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, -- 2.39.5