[issue #2221] simplified configuration for @Singular-generated plural form nullchecks.

This commit is contained in:
Reinier Zwitserloot committed 2020-01-31 06:33:33 +01:00
1 parent d31182c438
commit c42bfbae39
85 files changed
+517 -643

No files matched your search

@@ -34,7 +34,9 @@ public class SuperBuilderWithGenericsAndToBuilder {
}
public @java.lang.SuppressWarnings("all") B items(final java.util.Map<? extends Integer, ? extends String> items) {
if ((items == null))
throw new java.lang.NullPointerException("items cannot be null");
{
throw new java.lang.NullPointerException("items cannot be null");
}
if ((this.items$key == null))
{
this.items$key = new java.util.ArrayList<Integer>();