mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-15 04:18:44 +00:00
@NonNull now uses a slightly longer exception message.
This commit is contained in:
1 parent
198efc1b27
commit
a0b901c3c0
23 files changed
+52
-52
No files matched your search
@@ -54,7 +54,7 @@ class SetterOnClass6 {
|
||||
@java.lang.SuppressWarnings("all")
|
||||
public void setNonNull(@lombok.NonNull final String nonNull) {
|
||||
if (nonNull == null) {
|
||||
throw new java.lang.NullPointerException("nonNull");
|
||||
throw new java.lang.NullPointerException("nonNull is marked @NonNull but is null");
|
||||
}
|
||||
this.nonNull = nonNull;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user