aboutsummaryrefslogtreecommitdiff
path: root/website/usageExamples
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2022-01-21 00:58:27 +0100
committerGitHub <noreply@github.com>2022-01-21 00:58:27 +0100
commit2613f58b531315e36c407013c059a82023c750f2 (patch)
tree27ede83a4fca30337351a4e3a17126973d688578 /website/usageExamples
parent7eff9d31b047c9155b117dcf0d0430f64b342129 (diff)
parentc387bf3a920975622dd7fc5431f388dd1fd4c952 (diff)
downloadlombok-2613f58b531315e36c407013c059a82023c750f2.tar.gz
lombok-2613f58b531315e36c407013c059a82023c750f2.tar.bz2
lombok-2613f58b531315e36c407013c059a82023c750f2.zip
Merge pull request #3090 from sparhidev/master
Documentation updated to address #3073
Diffstat (limited to 'website/usageExamples')
-rw-r--r--website/usageExamples/NonNullExample_post.jpage2
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();
}