aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok/EqualsAndHashCodeWithOnParam.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/transform/resource/after-delombok/EqualsAndHashCodeWithOnParam.java')
-rw-r--r--test/transform/resource/after-delombok/EqualsAndHashCodeWithOnParam.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/transform/resource/after-delombok/EqualsAndHashCodeWithOnParam.java b/test/transform/resource/after-delombok/EqualsAndHashCodeWithOnParam.java
index 2052b0b0..d8d8b025 100644
--- a/test/transform/resource/after-delombok/EqualsAndHashCodeWithOnParam.java
+++ b/test/transform/resource/after-delombok/EqualsAndHashCodeWithOnParam.java
@@ -1,7 +1,7 @@
@interface Nullable {
}
-class EqualsAndHashCode {
+class EqualsAndHashCodeWithOnParam {
int x;
boolean[] y;
Object[] z;
@@ -11,8 +11,8 @@ class EqualsAndHashCode {
@java.lang.SuppressWarnings("all")
public boolean equals(@Nullable final java.lang.Object o) {
if (o == this) return true;
- if (!(o instanceof EqualsAndHashCode)) return false;
- final EqualsAndHashCode other = (EqualsAndHashCode)o;
+ if (!(o instanceof EqualsAndHashCodeWithOnParam)) return false;
+ final EqualsAndHashCodeWithOnParam other = (EqualsAndHashCodeWithOnParam)o;
if (!other.canEqual((java.lang.Object)this)) return false;
if (this.x != other.x) return false;
if (!java.util.Arrays.equals(this.y, other.y)) return false;
@@ -27,7 +27,7 @@ class EqualsAndHashCode {
}
@java.lang.SuppressWarnings("all")
protected boolean canEqual(@Nullable final java.lang.Object other) {
- return other instanceof EqualsAndHashCode;
+ return other instanceof EqualsAndHashCodeWithOnParam;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")