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-delombok/WitherOnClass.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-delombok/WitherOnClass.java')
-rw-r--r-- | test/transform/resource/after-delombok/WitherOnClass.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/transform/resource/after-delombok/WitherOnClass.java b/test/transform/resource/after-delombok/WitherOnClass.java index 45d0c4b5..93309c89 100644 --- a/test/transform/resource/after-delombok/WitherOnClass.java +++ b/test/transform/resource/after-delombok/WitherOnClass.java @@ -36,7 +36,7 @@ class WitherOnClass3 { @java.lang.SuppressWarnings("all") public WitherOnClass3 withNonNull(@lombok.NonNull final String nonNull) { if (nonNull == null) { - throw new java.lang.NullPointerException("nonNull"); + throw new java.lang.NullPointerException("nonNull is marked @NonNull but is null"); } return this.nonNull == nonNull ? this : new WitherOnClass3(this.couldBeNull, nonNull); } |