From 4b6588ed02830e48adc3d178e5fac66c6b0fe943 Mon Sep 17 00:00:00 2001 From: Caleb Brinkman Date: Thu, 19 Sep 2019 13:48:19 -0500 Subject: Fix test copy/paste errors --- .../after-delombok/BuilderSingularAnnotatedTypesWithSetterPrefix.java | 2 +- .../after-delombok/BuilderSingularGuavaListsSetsWithSetterPrefix.java | 2 +- .../resource/after-delombok/BuilderSingularListsWithSetterPrefix.java | 2 +- .../resource/after-delombok/BuilderSingularMapsWithSetterPrefix.java | 4 ++-- .../after-delombok/BuilderSingularNoAutoWithSetterPrefix.java | 2 +- .../BuilderSingularToBuilderWithNullWithSetterPrefix.java | 2 +- .../BuilderSingularWildcardListsWithToBuilderWithSetterPrefix.java | 4 ++-- .../after-ecj/BuilderSingularToBuilderWithNullWithSetterPrefix.java | 2 +- .../BuilderSingularWildcardListsWithToBuilderWithSetterPrefix.java | 4 ++-- 9 files changed, 12 insertions(+), 12 deletions(-) (limited to 'test') diff --git a/test/transform/resource/after-delombok/BuilderSingularAnnotatedTypesWithSetterPrefix.java b/test/transform/resource/after-delombok/BuilderSingularAnnotatedTypesWithSetterPrefix.java index c90e3233..6e9c2cee 100644 --- a/test/transform/resource/after-delombok/BuilderSingularAnnotatedTypesWithSetterPrefix.java +++ b/test/transform/resource/after-delombok/BuilderSingularAnnotatedTypesWithSetterPrefix.java @@ -119,6 +119,6 @@ class BuilderSingularAnnotatedTypesWithSetterPrefix { } @java.lang.SuppressWarnings("all") public static BuilderSingularAnnotatedTypesWithSetterPrefixBuilder builder() { - return new BuilderSingularAnnotatedTypesBuilder(); + return new BuilderSingularAnnotatedTypesWithSetterPrefixBuilder(); } } diff --git a/test/transform/resource/after-delombok/BuilderSingularGuavaListsSetsWithSetterPrefix.java b/test/transform/resource/after-delombok/BuilderSingularGuavaListsSetsWithSetterPrefix.java index 792a873e..b349b160 100644 --- a/test/transform/resource/after-delombok/BuilderSingularGuavaListsSetsWithSetterPrefix.java +++ b/test/transform/resource/after-delombok/BuilderSingularGuavaListsSetsWithSetterPrefix.java @@ -31,7 +31,7 @@ class BuilderSingularGuavaListsSetsWithSetterPrefix { @java.lang.SuppressWarnings("all") private com.google.common.collect.ImmutableTable.Builder users; @java.lang.SuppressWarnings("all") - BuilderSingularGuavaListsSetsBuilder() { + BuilderSingularGuavaListsSetsWithSetterPrefixBuilder() { } @java.lang.SuppressWarnings("all") public BuilderSingularGuavaListsSetsWithSetterPrefixBuilder withCard(final T card) { diff --git a/test/transform/resource/after-delombok/BuilderSingularListsWithSetterPrefix.java b/test/transform/resource/after-delombok/BuilderSingularListsWithSetterPrefix.java index 029ecda7..c685a352 100644 --- a/test/transform/resource/after-delombok/BuilderSingularListsWithSetterPrefix.java +++ b/test/transform/resource/after-delombok/BuilderSingularListsWithSetterPrefix.java @@ -20,7 +20,7 @@ class BuilderSingularListsWithSetterPrefix { @java.lang.SuppressWarnings("all") private java.util.ArrayList rawList; @java.lang.SuppressWarnings("all") - BuilderSingularListsBuilder() { + BuilderSingularListsWithSetterPrefixBuilder() { } @java.lang.SuppressWarnings("all") public BuilderSingularListsWithSetterPrefixBuilder withChild(final T child) { diff --git a/test/transform/resource/after-delombok/BuilderSingularMapsWithSetterPrefix.java b/test/transform/resource/after-delombok/BuilderSingularMapsWithSetterPrefix.java index 361a9f09..352a0723 100644 --- a/test/transform/resource/after-delombok/BuilderSingularMapsWithSetterPrefix.java +++ b/test/transform/resource/after-delombok/BuilderSingularMapsWithSetterPrefix.java @@ -7,7 +7,7 @@ class BuilderSingularMapsWithSetterPrefix { private Map rawMap; private Map stringMap; @SuppressWarnings("all") - BuilderSingularMaps(Map women, SortedMap men, Map rawMap, Map stringMap) { + BuilderSingularMapsWithSetterPrefix(Map women, SortedMap men, Map rawMap, Map stringMap) { this.women = women; this.men = men; this.rawMap = rawMap; @@ -32,7 +32,7 @@ class BuilderSingularMapsWithSetterPrefix { @SuppressWarnings("all") private java.util.ArrayList stringMap$value; @SuppressWarnings("all") - BuilderSingularMapsBuilder() { + BuilderSingularMapsWithSetterPrefixBuilder() { } @SuppressWarnings("all") public BuilderSingularMapsWithSetterPrefixBuilder withWoman(K womanKey, V womanValue) { diff --git a/test/transform/resource/after-delombok/BuilderSingularNoAutoWithSetterPrefix.java b/test/transform/resource/after-delombok/BuilderSingularNoAutoWithSetterPrefix.java index 6a22152b..d2b5ff37 100644 --- a/test/transform/resource/after-delombok/BuilderSingularNoAutoWithSetterPrefix.java +++ b/test/transform/resource/after-delombok/BuilderSingularNoAutoWithSetterPrefix.java @@ -18,7 +18,7 @@ class BuilderSingularNoAutoWithSetterPrefix { @java.lang.SuppressWarnings("all") private java.util.ArrayList items; @java.lang.SuppressWarnings("all") - BuilderSingularNoAutoBuilder() { + BuilderSingularNoAutoWithSetterPrefixBuilder() { } @java.lang.SuppressWarnings("all") public BuilderSingularNoAutoWithSetterPrefixBuilder withThings(final String things) { diff --git a/test/transform/resource/after-delombok/BuilderSingularToBuilderWithNullWithSetterPrefix.java b/test/transform/resource/after-delombok/BuilderSingularToBuilderWithNullWithSetterPrefix.java index 043cf25c..5f42d87e 100644 --- a/test/transform/resource/after-delombok/BuilderSingularToBuilderWithNullWithSetterPrefix.java +++ b/test/transform/resource/after-delombok/BuilderSingularToBuilderWithNullWithSetterPrefix.java @@ -59,7 +59,7 @@ class BuilderSingularToBuilderWithNullWithSetterPrefix { @java.lang.SuppressWarnings("all") public BuilderSingularToBuilderWithNullWithSetterPrefixBuilder toBuilder() { final BuilderSingularToBuilderWithNullWithSetterPrefixBuilder builder = new BuilderSingularToBuilderWithNullWithSetterPrefixBuilder(); - if (this.elems != null) builder.elems(this.elems); + if (this.elems != null) builder.withElems(this.elems); return builder; } } diff --git a/test/transform/resource/after-delombok/BuilderSingularWildcardListsWithToBuilderWithSetterPrefix.java b/test/transform/resource/after-delombok/BuilderSingularWildcardListsWithToBuilderWithSetterPrefix.java index c061a726..367f0ac1 100644 --- a/test/transform/resource/after-delombok/BuilderSingularWildcardListsWithToBuilderWithSetterPrefix.java +++ b/test/transform/resource/after-delombok/BuilderSingularWildcardListsWithToBuilderWithSetterPrefix.java @@ -90,8 +90,8 @@ class BuilderSingularWildcardListsWithToBuilderWithSetterPrefix { @java.lang.SuppressWarnings("all") public BuilderSingularWildcardListsWithToBuilderWithSetterPrefixBuilder toBuilder() { final BuilderSingularWildcardListsWithToBuilderWithSetterPrefixBuilder builder = new BuilderSingularWildcardListsWithToBuilderWithSetterPrefixBuilder(); - if (this.objects != null) builder.objects(this.objects); - if (this.numbers != null) builder.numbers(this.numbers); + if (this.objects != null) builder.withObjects(this.objects); + if (this.numbers != null) builder.withNumbers(this.numbers); return builder; } } diff --git a/test/transform/resource/after-ecj/BuilderSingularToBuilderWithNullWithSetterPrefix.java b/test/transform/resource/after-ecj/BuilderSingularToBuilderWithNullWithSetterPrefix.java index 03f8adf9..8728867d 100644 --- a/test/transform/resource/after-ecj/BuilderSingularToBuilderWithNullWithSetterPrefix.java +++ b/test/transform/resource/after-ecj/BuilderSingularToBuilderWithNullWithSetterPrefix.java @@ -54,7 +54,7 @@ import lombok.Singular; public @java.lang.SuppressWarnings("all") BuilderSingularToBuilderWithNullWithSetterPrefixBuilder toBuilder() { final BuilderSingularToBuilderWithNullWithSetterPrefixBuilder builder = new BuilderSingularToBuilderWithNullWithSetterPrefixBuilder(); if ((this.elems != null)) - builder.elems(this.elems); + builder.withElems(this.elems); return builder; } } diff --git a/test/transform/resource/after-ecj/BuilderSingularWildcardListsWithToBuilderWithSetterPrefix.java b/test/transform/resource/after-ecj/BuilderSingularWildcardListsWithToBuilderWithSetterPrefix.java index 358e6910..fe451d78 100644 --- a/test/transform/resource/after-ecj/BuilderSingularWildcardListsWithToBuilderWithSetterPrefix.java +++ b/test/transform/resource/after-ecj/BuilderSingularWildcardListsWithToBuilderWithSetterPrefix.java @@ -84,9 +84,9 @@ import lombok.Singular; public @java.lang.SuppressWarnings("all") BuilderSingularWildcardListsWithToBuilderWithSetterPrefixBuilder toBuilder() { final BuilderSingularWildcardListsWithToBuilderWithSetterPrefixBuilder builder = new BuilderSingularWildcardListsWithToBuilderWithSetterPrefixBuilder(); if ((this.objects != null)) - builder.objects(this.objects); + builder.withObjects(this.objects); if ((this.numbers != null)) - builder.numbers(this.numbers); + builder.withNumbers(this.numbers); return builder; } } -- cgit