diff options
Diffstat (limited to 'test/transform/resource/after-delombok/SuperBuilderBasicToBuilder.java')
-rw-r--r-- | test/transform/resource/after-delombok/SuperBuilderBasicToBuilder.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/transform/resource/after-delombok/SuperBuilderBasicToBuilder.java b/test/transform/resource/after-delombok/SuperBuilderBasicToBuilder.java index e9e8774a..1c0d378d 100644 --- a/test/transform/resource/after-delombok/SuperBuilderBasicToBuilder.java +++ b/test/transform/resource/after-delombok/SuperBuilderBasicToBuilder.java @@ -69,6 +69,7 @@ public class SuperBuilderBasicToBuilder { }
@java.lang.SuppressWarnings("all")
public 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);
return self();
|