diff options
author | aclement <aclement> | 2006-05-04 07:24:02 +0000 |
---|---|---|
committer | aclement <aclement> | 2006-05-04 07:24:02 +0000 |
commit | bd60a5b54a76394d73612539265d993169ec36c3 (patch) | |
tree | 886e515a622f4f032fea7fc8ce29a3cb0ee1400f /tests | |
parent | 5a01932b9dbdf81fe41e029fa56ede17364a2c2e (diff) | |
download | aspectj-bd60a5b54a76394d73612539265d993169ec36c3.tar.gz aspectj-bd60a5b54a76394d73612539265d993169ec36c3.zip |
nicer
Diffstat (limited to 'tests')
-rw-r--r-- | tests/src/org/aspectj/systemtest/ajc150/DeclareAnnotationTests.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/src/org/aspectj/systemtest/ajc150/DeclareAnnotationTests.java b/tests/src/org/aspectj/systemtest/ajc150/DeclareAnnotationTests.java index 0304944cf..c5009a213 100644 --- a/tests/src/org/aspectj/systemtest/ajc150/DeclareAnnotationTests.java +++ b/tests/src/org/aspectj/systemtest/ajc150/DeclareAnnotationTests.java @@ -297,7 +297,7 @@ public class DeclareAnnotationTests extends XMLBasedAjcTestCase { assertTrue("Couldn't find 'declare @type' element in the tree",ipe!=null); List l = AsmManager.getDefault().getRelationshipMap().get(ipe); - assertTrue("Should have a relationship but does not ",l.size()>0); + assertTrue("Should have a relationship but does not ",l!=null && l.size()>0); ipe = top.findElementForLabel(top.getRoot(), IProgramElement.Kind.DECLARE_ANNOTATION_AT_METHOD, |