diff options
author | Jan Rieke <rieke@subshell.com> | 2018-09-24 18:07:46 +0200 |
---|---|---|
committer | Jan Rieke <rieke@subshell.com> | 2018-09-24 18:07:46 +0200 |
commit | bd494bb5ff01eea2413cfe5a4820bfff34c07261 (patch) | |
tree | aa8a06490928c9ab495e43d7b78f171aa2f2f30c /test/transform/resource | |
parent | 80af03a3e48456e14b1b3da250047c531f460bb4 (diff) | |
download | lombok-bd494bb5ff01eea2413cfe5a4820bfff34c07261.tar.gz lombok-bd494bb5ff01eea2413cfe5a4820bfff34c07261.tar.bz2 lombok-bd494bb5ff01eea2413cfe5a4820bfff34c07261.zip |
SuperBuilder: fixed ecj tests (params are now final)
Diffstat (limited to 'test/transform/resource')
-rw-r--r-- | test/transform/resource/after-ecj/SuperBuilderBasicToBuilder.java | 4 | ||||
-rw-r--r-- | test/transform/resource/after-ecj/SuperBuilderWithGenericsAndToBuilder.java | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/test/transform/resource/after-ecj/SuperBuilderBasicToBuilder.java b/test/transform/resource/after-ecj/SuperBuilderBasicToBuilder.java index a491430a..f4d99112 100644 --- a/test/transform/resource/after-ecj/SuperBuilderBasicToBuilder.java +++ b/test/transform/resource/after-ecj/SuperBuilderBasicToBuilder.java @@ -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);
diff --git a/test/transform/resource/after-ecj/SuperBuilderWithGenericsAndToBuilder.java b/test/transform/resource/after-ecj/SuperBuilderWithGenericsAndToBuilder.java index 40e3bdca..107ee362 100644 --- a/test/transform/resource/after-ecj/SuperBuilderWithGenericsAndToBuilder.java +++ b/test/transform/resource/after-ecj/SuperBuilderWithGenericsAndToBuilder.java @@ -21,13 +21,13 @@ public class SuperBuilderWithGenericsAndToBuilder { this.field1 = field1;
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);
|