mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-16 16:15:48 +00:00
[issue #2221] simplified configuration for @Singular-generated plural form nullchecks.
This commit is contained in:
85 files changed
+517
-643
No files matched your search
@@ -42,7 +42,9 @@ public class SuperBuilderWithGenericsAndToBuilder {
|
||||
}
|
||||
@java.lang.SuppressWarnings("all")
|
||||
public B items(final java.util.Map<? extends Integer, ? extends String> items) {
|
||||
if (items == null) throw new java.lang.NullPointerException("items cannot be null");
|
||||
if (items == null) {
|
||||
throw new java.lang.NullPointerException("items cannot be null");
|
||||
}
|
||||
if (this.items$key == null) {
|
||||
this.items$key = new java.util.ArrayList<Integer>();
|
||||
this.items$value = new java.util.ArrayList<String>();
|
||||
|
||||
Reference in new issue
Block a user