From c387bf3a920975622dd7fc5431f388dd1fd4c952 Mon Sep 17 00:00:00 2001 From: Shubhendu Parhi <86868701+sparhidev@users.noreply.github.com> Date: Thu, 20 Jan 2022 13:41:52 +0530 Subject: Updated NonNullExample snippet to address #3073 --- website/usageExamples/NonNullExample_post.jpage | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'website/usageExamples') 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(); } -- cgit