aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorwisberg <wisberg>2003-08-17 18:23:00 +0000
committerwisberg <wisberg>2003-08-17 18:23:00 +0000
commitdd7bee990b077e7778150b23dc50183fe319d1f7 (patch)
tree80e48f5a1231d969aa1d06f6e395d99e2e334434 /testing
parentb22dba1a73ce29e900ccbc140b9e6a983b0b5b9e (diff)
downloadaspectj-dd7bee990b077e7778150b23dc50183fe319d1f7.tar.gz
aspectj-dd7bee990b077e7778150b23dc50183fe319d1f7.zip
permitting null input in public utility method
Diffstat (limited to 'testing')
-rw-r--r--testing/src/org/aspectj/testing/harness/bridge/AjcTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/testing/src/org/aspectj/testing/harness/bridge/AjcTest.java b/testing/src/org/aspectj/testing/harness/bridge/AjcTest.java
index 7d4e97036..4a521d890 100644
--- a/testing/src/org/aspectj/testing/harness/bridge/AjcTest.java
+++ b/testing/src/org/aspectj/testing/harness/bridge/AjcTest.java
@@ -463,6 +463,9 @@ public class AjcTest extends RunSpecIterator {
}
public static AjcTest.Spec[] getTests(Suite.Spec spec) {
+ if (null == spec) {
+ return new AjcTest.Spec[0];
+ }
return (AjcTest.Spec[]) spec.children.toArray(new AjcTest.Spec[0]);
}