aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok/CheckerFrameworkBuilder.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/transform/resource/after-delombok/CheckerFrameworkBuilder.java')
-rw-r--r--test/transform/resource/after-delombok/CheckerFrameworkBuilder.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/transform/resource/after-delombok/CheckerFrameworkBuilder.java b/test/transform/resource/after-delombok/CheckerFrameworkBuilder.java
index fad0cf2b..ace3adad 100644
--- a/test/transform/resource/after-delombok/CheckerFrameworkBuilder.java
+++ b/test/transform/resource/after-delombok/CheckerFrameworkBuilder.java
@@ -62,7 +62,9 @@ class CheckerFrameworkBuilder {
@org.checkerframework.checker.builder.qual.ReturnsReceiver
@java.lang.SuppressWarnings("all")
public CheckerFrameworkBuilder.CheckerFrameworkBuilderBuilder names(final java.util.Collection<? extends String> names) {
- if (names == null) throw new java.lang.NullPointerException("names cannot be null");
+ if (names == null) {
+ throw new java.lang.NullPointerException("names cannot be null");
+ }
if (this.names == null) this.names = new java.util.ArrayList<String>();
this.names.addAll(names);
return this;