diff options
author | Reinier Zwitserloot <reinier@zwitserloot.com> | 2018-06-04 23:55:13 +0200 |
---|---|---|
committer | Reinier Zwitserloot <reinier@zwitserloot.com> | 2018-06-04 23:55:13 +0200 |
commit | a0b901c3c04d0377f495a9da853196a3b0433eae (patch) | |
tree | 58e3e3ca4b3954e4e5eedd856cfc44d02381fa2b /test/transform/resource/after-ecj/NonNullWithAlternateException.java | |
parent | 198efc1b279060beba836663b802923b8d53b2ec (diff) | |
download | lombok-a0b901c3c04d0377f495a9da853196a3b0433eae.tar.gz lombok-a0b901c3c04d0377f495a9da853196a3b0433eae.tar.bz2 lombok-a0b901c3c04d0377f495a9da853196a3b0433eae.zip |
`@NonNull` now uses a slightly longer exception message.
Diffstat (limited to 'test/transform/resource/after-ecj/NonNullWithAlternateException.java')
-rw-r--r-- | test/transform/resource/after-ecj/NonNullWithAlternateException.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/transform/resource/after-ecj/NonNullWithAlternateException.java b/test/transform/resource/after-ecj/NonNullWithAlternateException.java index 8a547ecf..39e9c0a8 100644 --- a/test/transform/resource/after-ecj/NonNullWithAlternateException.java +++ b/test/transform/resource/after-ecj/NonNullWithAlternateException.java @@ -6,14 +6,14 @@ public class NonNullWithAlternateException { public void testMethod(@lombok.NonNull String arg) { if ((arg == null)) { - throw new java.lang.IllegalArgumentException("arg is null"); + throw new java.lang.IllegalArgumentException("arg is marked @NonNull but is null"); } System.out.println(arg); } public @java.lang.SuppressWarnings("all") void setTest(final @lombok.NonNull String test) { if ((test == null)) { - throw new java.lang.IllegalArgumentException("test is null"); + throw new java.lang.IllegalArgumentException("test is marked @NonNull but is null"); } this.test = test; } |