diff options
author | Shubhendu Parhi <86868701+sparhidev@users.noreply.github.com> | 2022-01-20 13:41:52 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-20 13:41:52 +0530 |
commit | c387bf3a920975622dd7fc5431f388dd1fd4c952 (patch) | |
tree | 27ede83a4fca30337351a4e3a17126973d688578 /website/usageExamples/NonNullExample_post.jpage | |
parent | a2df6e6cc442fb1377e58aa0aeeece143e6ce660 (diff) | |
download | lombok-c387bf3a920975622dd7fc5431f388dd1fd4c952.tar.gz lombok-c387bf3a920975622dd7fc5431f388dd1fd4c952.tar.bz2 lombok-c387bf3a920975622dd7fc5431f388dd1fd4c952.zip |
Updated NonNullExample snippet to address #3073
Diffstat (limited to 'website/usageExamples/NonNullExample_post.jpage')
-rw-r--r-- | website/usageExamples/NonNullExample_post.jpage | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/website/usageExamples/NonNullExample_post.jpage b/website/usageExamples/NonNullExample_post.jpage index bb67b3f6..ff3c2dc3 100644 --- a/website/usageExamples/NonNullExample_post.jpage +++ b/website/usageExamples/NonNullExample_post.jpage @@ -6,7 +6,7 @@ public class NonNullExample extends Something { public NonNullExample(@NonNull Person person) { super("Hello"); if (person == null) { - throw new NullPointerException("person is marked @NonNull but is null"); + throw new NullPointerException("person is marked non-null but is null"); } this.name = person.getName(); } |