diff options
author | Jan Rieke <rieke@subshell.com> | 2018-05-11 17:19:47 +0200 |
---|---|---|
committer | Jan Rieke <rieke@subshell.com> | 2018-05-11 17:19:47 +0200 |
commit | fb401d4887895d1ebb8529d6323797f1bc8072a2 (patch) | |
tree | 46af759345e6b2a316218f9158fa2b55ce58385b /test/transform | |
parent | ee51d77dd664ec13d3d3748798bfc74531594171 (diff) | |
download | lombok-fb401d4887895d1ebb8529d6323797f1bc8072a2.tar.gz lombok-fb401d4887895d1ebb8529d6323797f1bc8072a2.tar.bz2 lombok-fb401d4887895d1ebb8529d6323797f1bc8072a2.zip |
ecj: setter methods now return self()
Diffstat (limited to 'test/transform')
-rw-r--r-- | test/transform/resource/after-ecj/SuperBuilderBasic.java | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/test/transform/resource/after-ecj/SuperBuilderBasic.java b/test/transform/resource/after-ecj/SuperBuilderBasic.java index cecf82f7..7315760c 100644 --- a/test/transform/resource/after-ecj/SuperBuilderBasic.java +++ b/test/transform/resource/after-ecj/SuperBuilderBasic.java @@ -10,18 +10,21 @@ public class SuperBuilderBasic { this.field1 = field1;
return self();
}
- public @java.lang.SuppressWarnings("all") B item(final String item) {
- if (this.items == null) this.items = new java.util.ArrayList<String>();
+ public @java.lang.SuppressWarnings("all") B item(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(final java.util.Collection<? extends String> items) {
- if (this.items == null) this.items = new java.util.ArrayList<String>();
+ public @java.lang.SuppressWarnings("all") B items(java.util.Collection<? extends String> items) {
+ if ((this.items == null))
+ this.items = new java.util.ArrayList<String>();
this.items.addAll(items);
return self();
}
public @java.lang.SuppressWarnings("all") B clearItems() {
- if (this.items != null) this.items.clear();
+ if ((this.items != null))
+ this.items.clear();
return self();
}
public @java.lang.Override @java.lang.SuppressWarnings("all") java.lang.String toString() {
|