aboutsummaryrefslogtreecommitdiff
path: root/website2/usageExamples/NonNullExample_post.jpage
diff options
context:
space:
mode:
Diffstat (limited to 'website2/usageExamples/NonNullExample_post.jpage')
-rw-r--r--website2/usageExamples/NonNullExample_post.jpage13
1 files changed, 0 insertions, 13 deletions
diff --git a/website2/usageExamples/NonNullExample_post.jpage b/website2/usageExamples/NonNullExample_post.jpage
deleted file mode 100644
index 24175e06..00000000
--- a/website2/usageExamples/NonNullExample_post.jpage
+++ /dev/null
@@ -1,13 +0,0 @@
-import lombok.NonNull;
-
-public class NonNullExample extends Something {
- private String name;
-
- public NonNullExample(@NonNull Person person) {
- super("Hello");
- if (person == null) {
- throw new NullPointerException("person");
- }
- this.name = person.getName();
- }
-}