aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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();
}