aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok/WitherOnClass.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/transform/resource/after-delombok/WitherOnClass.java')
-rw-r--r--test/transform/resource/after-delombok/WitherOnClass.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/transform/resource/after-delombok/WitherOnClass.java b/test/transform/resource/after-delombok/WitherOnClass.java
index 783fede1..45d0c4b5 100644
--- a/test/transform/resource/after-delombok/WitherOnClass.java
+++ b/test/transform/resource/after-delombok/WitherOnClass.java
@@ -35,7 +35,9 @@ class WitherOnClass3 {
}
@java.lang.SuppressWarnings("all")
public WitherOnClass3 withNonNull(@lombok.NonNull final String nonNull) {
- if (nonNull == null) throw new java.lang.NullPointerException("nonNull");
+ if (nonNull == null) {
+ throw new java.lang.NullPointerException("nonNull");
+ }
return this.nonNull == nonNull ? this : new WitherOnClass3(this.couldBeNull, nonNull);
}
}