@NonNull now uses a slightly longer exception message.

This commit is contained in:
Reinier Zwitserloot committed 2018-06-04 23:55:13 +02:00
1 parent 198efc1b27
commit a0b901c3c0
23 files changed
+52 -52

No files matched your search

@@ -9,7 +9,7 @@ import java.lang.annotation.*;
super();
if ((s == null))
{
throw new java.lang.NullPointerException("s");
throw new java.lang.NullPointerException("s is marked @NonNull but is null");
}
this.i = i;
this.s = s;
@@ -29,7 +29,7 @@ import java.lang.annotation.*;
public @java.lang.SuppressWarnings("all") void setS(final @lombok.NonNull String s) {
if ((s == null))
{
throw new java.lang.NullPointerException("s");
throw new java.lang.NullPointerException("s is marked @NonNull but is null");
}
this.s = s;
}