diff options
Diffstat (limited to 'test/transform')
-rw-r--r-- | test/transform/resource/after-delombok/ValuePlain.java | 24 | ||||
-rw-r--r-- | test/transform/resource/after-ecj/ValuePlain.java | 18 |
2 files changed, 0 insertions, 42 deletions
diff --git a/test/transform/resource/after-delombok/ValuePlain.java b/test/transform/resource/after-delombok/ValuePlain.java index ffeed858..d1cfa3d7 100644 --- a/test/transform/resource/after-delombok/ValuePlain.java +++ b/test/transform/resource/after-delombok/ValuePlain.java @@ -15,14 +15,6 @@ final class Value1 { public String getName() { return this.name; } - @java.lang.SuppressWarnings("all") - public Value1 withX(final int x) { - return this.x == x ? this : new Value1(x, this.name); - } - @java.lang.SuppressWarnings("all") - public Value1 withName(final String name) { - return this.name == name ? this : new Value1(this.x, name); - } @java.lang.Override @java.lang.SuppressWarnings("all") public boolean equals(final java.lang.Object o) { @@ -68,14 +60,6 @@ class Value2 { public String getName() { return this.name; } - @java.lang.SuppressWarnings("all") - public Value2 withX(final int x) { - return this.x == x ? this : new Value2(x, this.name); - } - @java.lang.SuppressWarnings("all") - public Value2 withName(final String name) { - return this.name == name ? this : new Value2(this.x, name); - } @java.lang.Override @java.lang.SuppressWarnings("all") public boolean equals(final java.lang.Object o) { @@ -126,14 +110,6 @@ final class Value3 { public int getY() { return this.y; } - @java.lang.SuppressWarnings("all") - public Value3 withX(final int x) { - return this.x == x ? this : new Value3(x, this.y); - } - @java.lang.SuppressWarnings("all") - public Value3 withY(final int y) { - return this.y == y ? this : new Value3(this.x, y); - } @java.lang.Override @java.lang.SuppressWarnings("all") public boolean equals(final java.lang.Object o) { diff --git a/test/transform/resource/after-ecj/ValuePlain.java b/test/transform/resource/after-ecj/ValuePlain.java index c8498a93..b798b308 100644 --- a/test/transform/resource/after-ecj/ValuePlain.java +++ b/test/transform/resource/after-ecj/ValuePlain.java @@ -8,12 +8,6 @@ final @lombok.experimental.Value class Value1 { public @java.lang.SuppressWarnings("all") String getName() { return this.name; } - public @java.lang.SuppressWarnings("all") Value1 withX(final int x) { - return ((this.x == x) ? this : new Value1(x, this.name)); - } - public @java.lang.SuppressWarnings("all") Value1 withName(final String name) { - return ((this.name == name) ? this : new Value1(this.x, name)); - } public @java.lang.Override @java.lang.SuppressWarnings("all") boolean equals(final java.lang.Object o) { if ((o == this)) return true; @@ -54,12 +48,6 @@ final @lombok.experimental.Value class Value1 { public @java.lang.SuppressWarnings("all") String getName() { return this.name; } - public @java.lang.SuppressWarnings("all") Value2 withX(final int x) { - return ((this.x == x) ? this : new Value2(x, this.name)); - } - public @java.lang.SuppressWarnings("all") Value2 withName(final String name) { - return ((this.name == name) ? this : new Value2(this.x, name)); - } public @java.lang.Override @java.lang.SuppressWarnings("all") boolean equals(final java.lang.Object o) { if ((o == this)) return true; @@ -105,12 +93,6 @@ final @Value class Value3 { public @java.lang.SuppressWarnings("all") int getY() { return this.y; } - public @java.lang.SuppressWarnings("all") Value3 withX(final int x) { - return ((this.x == x) ? this : new Value3(x, this.y)); - } - public @java.lang.SuppressWarnings("all") Value3 withY(final int y) { - return ((this.y == y) ? this : new Value3(this.x, y)); - } public @java.lang.Override @java.lang.SuppressWarnings("all") boolean equals(final java.lang.Object o) { if ((o == this)) return true; |