aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok/SuperBuilderWithGenerics2.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/transform/resource/after-delombok/SuperBuilderWithGenerics2.java')
-rw-r--r--test/transform/resource/after-delombok/SuperBuilderWithGenerics2.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/transform/resource/after-delombok/SuperBuilderWithGenerics2.java b/test/transform/resource/after-delombok/SuperBuilderWithGenerics2.java
index b03cff07..2b4697d5 100644
--- a/test/transform/resource/after-delombok/SuperBuilderWithGenerics2.java
+++ b/test/transform/resource/after-delombok/SuperBuilderWithGenerics2.java
@@ -26,7 +26,9 @@ public class SuperBuilderWithGenerics2 {
}
@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 (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();