SuperBuilder: fixed ecj tests (params are now final)

This commit is contained in:
Jan Rieke committed 2018-09-24 18:07:46 +02:00
1 parent 80af03a3e4
commit bd494bb5ff
2 files changed
+4 -4

No files matched your search

@@ -39,13 +39,13 @@ public class SuperBuilderBasicToBuilder {
this.obtainViaStaticMethod = obtainViaStaticMethod;
return self();
}
public @java.lang.SuppressWarnings("all") B item(String item) {
public @java.lang.SuppressWarnings("all") B item(final String item) {
if ((this.items == null))
this.items = new java.util.ArrayList<String>();
this.items.add(item);
return self();
}
public @java.lang.SuppressWarnings("all") B items(java.util.Collection<? extends String> items) {
public @java.lang.SuppressWarnings("all") B items(final java.util.Collection<? extends String> items) {
if ((this.items == null))
this.items = new java.util.ArrayList<String>();
this.items.addAll(items);