diff options
author | Durai46 <86647861+Durai46@users.noreply.github.com> | 2021-08-23 15:43:33 +0530 |
---|---|---|
committer | Roel Spilker <r.spilker@gmail.com> | 2021-12-12 02:36:21 +0100 |
commit | 10fab5b77a04f5c89e4ad7fe6937055d36c4d1ee (patch) | |
tree | 77a226d02aa6fb0590393d7364580e3cbfc8d96a /website/usageExamples | |
parent | 16fcff1b44911b80c0a29a18e0066f5ca936df80 (diff) | |
download | lombok-10fab5b77a04f5c89e4ad7fe6937055d36c4d1ee.tar.gz lombok-10fab5b77a04f5c89e4ad7fe6937055d36c4d1ee.tar.bz2 lombok-10fab5b77a04f5c89e4ad7fe6937055d36c4d1ee.zip |
Update WithExample_pre.jpage
updated NonNull check
Diffstat (limited to 'website/usageExamples')
-rw-r--r-- | website/usageExamples/WithExample_pre.jpage | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/website/usageExamples/WithExample_pre.jpage b/website/usageExamples/WithExample_pre.jpage index 2f78020a..f03ee891 100644 --- a/website/usageExamples/WithExample_pre.jpage +++ b/website/usageExamples/WithExample_pre.jpage @@ -6,8 +6,7 @@ public class WithExample { @With(AccessLevel.PROTECTED) @NonNull private final String name; @With private final int age; - public WithExample(String name, int age) { - if (name == null) throw new NullPointerException(); + public WithExample(@NonNull String name, int age) { this.name = name; this.age = age; } |