diff options
author | Caleb Brinkman <cbrinkman@sonatype.com> | 2019-10-25 15:38:07 -0500 |
---|---|---|
committer | Caleb Brinkman <cbrinkman@sonatype.com> | 2019-10-25 15:38:07 -0500 |
commit | 666defaff365d9841d5136063fc6f9e6ee5c0403 (patch) | |
tree | 9c108b0d9bacedf82988c372b3dd43c744a102b1 /test/transform/resource/before/BuilderWithToBuilderWithSetterPrefix.java | |
parent | ffb299730e8f378748c4594988ec568812bf895b (diff) | |
download | lombok-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.java | 4 |
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) { } } |