diff options
author | Roel Spilker <r.spilker@gmail.com> | 2019-03-25 23:36:16 +0100 |
---|---|---|
committer | Roel Spilker <r.spilker@gmail.com> | 2019-03-26 00:00:42 +0100 |
commit | 4e7414038ad9df25fb6d2ee76dd22421e1ff7005 (patch) | |
tree | 8ad77bb929cd0f7e5e47f410c6df4d3b4b2912b7 /test/transform/resource/after-delombok/DataOnLocalClass.java | |
parent | e4b61e1263eb0eb832eb6cfbd97ad92e869ca27e (diff) | |
download | lombok-4e7414038ad9df25fb6d2ee76dd22421e1ff7005.tar.gz lombok-4e7414038ad9df25fb6d2ee76dd22421e1ff7005.tar.bz2 lombok-4e7414038ad9df25fb6d2ee76dd22421e1ff7005.zip |
[i2078] Add possibility to generate assert on `@NonNull`
Diffstat (limited to 'test/transform/resource/after-delombok/DataOnLocalClass.java')
-rw-r--r-- | test/transform/resource/after-delombok/DataOnLocalClass.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/transform/resource/after-delombok/DataOnLocalClass.java b/test/transform/resource/after-delombok/DataOnLocalClass.java index d611490b..80f3ca83 100644 --- a/test/transform/resource/after-delombok/DataOnLocalClass.java +++ b/test/transform/resource/after-delombok/DataOnLocalClass.java @@ -64,7 +64,7 @@ class DataOnLocalClass2 { @java.lang.SuppressWarnings("all") public InnerLocal(@lombok.NonNull final String name) { if (name == null) { - throw new java.lang.NullPointerException("name is marked @NonNull but is null"); + throw new java.lang.NullPointerException("name is marked non-null but is null"); } this.name = name; } @@ -76,7 +76,7 @@ class DataOnLocalClass2 { @java.lang.SuppressWarnings("all") public void setName(@lombok.NonNull final String name) { if (name == null) { - throw new java.lang.NullPointerException("name is marked @NonNull but is null"); + throw new java.lang.NullPointerException("name is marked non-null but is null"); } this.name = name; } |