diff options
Diffstat (limited to 'test/transform/resource/after-delombok/NonNullOnParameterOfDefaultMethod.java')
-rw-r--r-- | test/transform/resource/after-delombok/NonNullOnParameterOfDefaultMethod.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/transform/resource/after-delombok/NonNullOnParameterOfDefaultMethod.java b/test/transform/resource/after-delombok/NonNullOnParameterOfDefaultMethod.java index e220296f..cf10253b 100644 --- a/test/transform/resource/after-delombok/NonNullOnParameterOfDefaultMethod.java +++ b/test/transform/resource/after-delombok/NonNullOnParameterOfDefaultMethod.java @@ -3,7 +3,7 @@ interface NonNullOnParameterOfDefaultMethod { void test(@lombok.NonNull String arg); 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); } |