mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-14 08:18:29 +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
@@ -29,7 +29,9 @@ import lombok.Builder;
|
||||
}
|
||||
public @java.lang.SuppressWarnings("all") BuilderWithToBuilder.BuilderWithToBuilderBuilder<T> bars(final java.util.Collection<? extends T> bars) {
|
||||
if ((bars == null))
|
||||
throw new java.lang.NullPointerException("bars cannot be null");
|
||||
{
|
||||
throw new java.lang.NullPointerException("bars cannot be null");
|
||||
}
|
||||
if ((this.bars == null))
|
||||
this.bars = new java.util.ArrayList<T>();
|
||||
this.bars.addAll(bars);
|
||||
|
||||
Reference in new issue
Block a user