aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/before/BuilderWithToBuilderWithSetterPrefix.java
diff options
context:
space:
mode:
authorCaleb Brinkman <cbrinkman@sonatype.com>2019-10-25 15:38:07 -0500
committerCaleb Brinkman <cbrinkman@sonatype.com>2019-10-25 15:38:07 -0500
commit666defaff365d9841d5136063fc6f9e6ee5c0403 (patch)
tree9c108b0d9bacedf82988c372b3dd43c744a102b1 /test/transform/resource/before/BuilderWithToBuilderWithSetterPrefix.java
parentffb299730e8f378748c4594988ec568812bf895b (diff)
downloadlombok-666defaff365d9841d5136063fc6f9e6ee5c0403.tar.gz
lombok-666defaff365d9841d5136063fc6f9e6ee5c0403.tar.bz2
lombok-666defaff365d9841d5136063fc6f9e6ee5c0403.zip
Fix up some more tests and copy-paste errors
Diffstat (limited to 'test/transform/resource/before/BuilderWithToBuilderWithSetterPrefix.java')
-rw-r--r--test/transform/resource/before/BuilderWithToBuilderWithSetterPrefix.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/transform/resource/before/BuilderWithToBuilderWithSetterPrefix.java b/test/transform/resource/before/BuilderWithToBuilderWithSetterPrefix.java
index b33211e9..3b442b8d 100644
--- a/test/transform/resource/before/BuilderWithToBuilderWithSetterPrefix.java
+++ b/test/transform/resource/before/BuilderWithToBuilderWithSetterPrefix.java
@@ -5,7 +5,7 @@ class BuilderWithToBuilderWithSetterPrefix<T> {
private String mOne, mTwo;
@Builder.ObtainVia(method = "rrr", isStatic = true) private T foo;
@lombok.Singular private List<T> bars;
- public static <K> K rrr(BuilderWithToBuilder<K> x) {
+ public static <K> K rrr(BuilderWithToBuilderWithSetterPrefix<K> x) {
return x.foo;
}
}
@@ -15,6 +15,6 @@ class ConstructorWithToBuilderWithSetterPrefix<T> {
private T foo;
@lombok.Singular private com.google.common.collect.ImmutableList<T> bars;
@Builder(toBuilder = true, setterPrefix = "with")
- public ConstructorWithToBuilder(String mOne, @Builder.ObtainVia(field = "foo") T baz, com.google.common.collect.ImmutableList<T> bars) {
+ public ConstructorWithToBuilderWithSetterPrefix(String mOne, @Builder.ObtainVia(field = "foo") T baz, com.google.common.collect.ImmutableList<T> bars) {
}
}