@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

@@ -2,7 +2,7 @@ class NonNullWithSneakyThrows {
void test(@lombok.NonNull String in) {
try {
if (in == null) {
throw new java.lang.NullPointerException("in");
throw new java.lang.NullPointerException("in is marked @NonNull but is null");
}
System.out.println(in);
} catch (final java.lang.Throwable $ex) {