aboutsummaryrefslogtreecommitdiff
path: root/website/usageExamples
diff options
context:
space:
mode:
authorShubhendu Parhi <86868701+sparhidev@users.noreply.github.com>2022-01-20 13:41:52 +0530
committerGitHub <noreply@github.com>2022-01-20 13:41:52 +0530
commitc387bf3a920975622dd7fc5431f388dd1fd4c952 (patch)
tree27ede83a4fca30337351a4e3a17126973d688578 /website/usageExamples
parenta2df6e6cc442fb1377e58aa0aeeece143e6ce660 (diff)
downloadlombok-c387bf3a920975622dd7fc5431f388dd1fd4c952.tar.gz
lombok-c387bf3a920975622dd7fc5431f388dd1fd4c952.tar.bz2
lombok-c387bf3a920975622dd7fc5431f388dd1fd4c952.zip
Updated NonNullExample snippet 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();
}