aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-ecj/SuperBuilderWithGenerics.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/transform/resource/after-ecj/SuperBuilderWithGenerics.java')
-rw-r--r--test/transform/resource/after-ecj/SuperBuilderWithGenerics.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/transform/resource/after-ecj/SuperBuilderWithGenerics.java b/test/transform/resource/after-ecj/SuperBuilderWithGenerics.java
index bbf07d75..89ab8821 100644
--- a/test/transform/resource/after-ecj/SuperBuilderWithGenerics.java
+++ b/test/transform/resource/after-ecj/SuperBuilderWithGenerics.java
@@ -20,6 +20,8 @@ public class SuperBuilderWithGenerics {
return self();
}
public @java.lang.SuppressWarnings("all") B items(final java.util.Collection<? extends String> items) {
+ if ((items == null))
+ throw new java.lang.NullPointerException("items cannot be null");
if ((this.items == null))
this.items = new java.util.ArrayList<String>();
this.items.addAll(items);