mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-13 20:15:09 +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
@@ -3,7 +3,7 @@ interface NonNullOnParameterOfDefaultMethod {
|
||||
default void test2(@lombok.NonNull String arg) {
|
||||
if ((arg == null))
|
||||
{
|
||||
throw new java.lang.NullPointerException("arg");
|
||||
throw new java.lang.NullPointerException("arg is marked @NonNull but is null");
|
||||
}
|
||||
System.out.println(arg);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user