aboutsummaryrefslogtreecommitdiff
path: root/test/transform
diff options
context:
space:
mode:
authorCaleb Brinkman <cbrinkman@sonatype.com>2019-09-19 13:48:19 -0500
committerCaleb Brinkman <cbrinkman@sonatype.com>2019-09-19 13:48:19 -0500
commit4b6588ed02830e48adc3d178e5fac66c6b0fe943 (patch)
tree9ef5ed38f1b8236da65f84d08ed92036cd12711f /test/transform
parentbae66a3450cf6118d7447a390baf333f862c7d8e (diff)
downloadlombok-4b6588ed02830e48adc3d178e5fac66c6b0fe943.tar.gz
lombok-4b6588ed02830e48adc3d178e5fac66c6b0fe943.tar.bz2
lombok-4b6588ed02830e48adc3d178e5fac66c6b0fe943.zip
Fix test copy/paste errors
Diffstat (limited to 'test/transform')
-rw-r--r--test/transform/resource/after-delombok/BuilderSingularAnnotatedTypesWithSetterPrefix.java2
-rw-r--r--test/transform/resource/after-delombok/BuilderSingularGuavaListsSetsWithSetterPrefix.java2
-rw-r--r--test/transform/resource/after-delombok/BuilderSingularListsWithSetterPrefix.java2
-rw-r--r--test/transform/resource/after-delombok/BuilderSingularMapsWithSetterPrefix.java4
-rw-r--r--test/transform/resource/after-delombok/BuilderSingularNoAutoWithSetterPrefix.java2
-rw-r--r--test/transform/resource/after-delombok/BuilderSingularToBuilderWithNullWithSetterPrefix.java2
-rw-r--r--test/transform/resource/after-delombok/BuilderSingularWildcardListsWithToBuilderWithSetterPrefix.java4
-rw-r--r--test/transform/resource/after-ecj/BuilderSingularToBuilderWithNullWithSetterPrefix.java2
-rw-r--r--test/transform/resource/after-ecj/BuilderSingularWildcardListsWithToBuilderWithSetterPrefix.java4
9 files changed, 12 insertions, 12 deletions
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<T> {
@java.lang.SuppressWarnings("all")
private com.google.common.collect.ImmutableTable.Builder<Number, Number, String> users;
@java.lang.SuppressWarnings("all")
- BuilderSingularGuavaListsSetsBuilder() {
+ BuilderSingularGuavaListsSetsWithSetterPrefixBuilder() {
}
@java.lang.SuppressWarnings("all")
public BuilderSingularGuavaListsSetsWithSetterPrefixBuilder<T> 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<T> {
@java.lang.SuppressWarnings("all")
private java.util.ArrayList<java.lang.Object> rawList;
@java.lang.SuppressWarnings("all")
- BuilderSingularListsBuilder() {
+ BuilderSingularListsWithSetterPrefixBuilder() {
}
@java.lang.SuppressWarnings("all")
public BuilderSingularListsWithSetterPrefixBuilder<T> 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<K, V> {
private Map rawMap;
private Map<String, V> stringMap;
@SuppressWarnings("all")
- BuilderSingularMaps(Map<K, V> women, SortedMap<K, ? extends Number> men, Map rawMap, Map<String, V> stringMap) {
+ BuilderSingularMapsWithSetterPrefix(Map<K, V> women, SortedMap<K, ? extends Number> men, Map rawMap, Map<String, V> stringMap) {
this.women = women;
this.men = men;
this.rawMap = rawMap;
@@ -32,7 +32,7 @@ class BuilderSingularMapsWithSetterPrefix<K, V> {
@SuppressWarnings("all")
private java.util.ArrayList<V> stringMap$value;
@SuppressWarnings("all")
- BuilderSingularMapsBuilder() {
+ BuilderSingularMapsWithSetterPrefixBuilder() {
}
@SuppressWarnings("all")
public BuilderSingularMapsWithSetterPrefixBuilder<K, V> 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<String> 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;
}
}