aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok/GetterLazyEahcToString.java
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2011-01-17 23:57:11 +0100
committerReinier Zwitserloot <reinier@zwitserloot.com>2011-01-17 23:57:11 +0100
commit41a85d2814a979cb2c1c31b5a95dd96cd8a23f87 (patch)
treef41a0c45d4c1f23b76294c00cd9748a717d3f98c /test/transform/resource/after-delombok/GetterLazyEahcToString.java
parent47037e2830057143d1597b8d6b6725143ea09f0d (diff)
downloadlombok-41a85d2814a979cb2c1c31b5a95dd96cd8a23f87.tar.gz
lombok-41a85d2814a979cb2c1c31b5a95dd96cd8a23f87.tar.bz2
lombok-41a85d2814a979cb2c1c31b5a95dd96cd8a23f87.zip
Some of the tests weren't succeeding (and haven't for a while now) since fixing the bug where lombok will call equals(SomeSpecificType) instead of equals(Object) from data. This commit rectifies this by updating the tests.
Diffstat (limited to 'test/transform/resource/after-delombok/GetterLazyEahcToString.java')
-rw-r--r--test/transform/resource/after-delombok/GetterLazyEahcToString.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/transform/resource/after-delombok/GetterLazyEahcToString.java b/test/transform/resource/after-delombok/GetterLazyEahcToString.java
index f085722d..74ce716e 100644
--- a/test/transform/resource/after-delombok/GetterLazyEahcToString.java
+++ b/test/transform/resource/after-delombok/GetterLazyEahcToString.java
@@ -9,9 +9,9 @@ class GetterLazyEahcToString {
if (o == this) return true;
if (!(o instanceof GetterLazyEahcToString)) return false;
final GetterLazyEahcToString other = (GetterLazyEahcToString)o;
- if (!other.canEqual(this)) return false;
- if (this.getValue() == null ? other.getValue() != null : !this.getValue().equals(other.getValue())) return false;
- if (this.value2 == null ? other.value2 != null : !this.value2.equals(other.value2)) return false;
+ if (!other.canEqual((java.lang.Object)this)) return false;
+ if (this.getValue() == null ? other.getValue() != null : !this.getValue().equals((java.lang.Object)other.getValue())) return false;
+ if (this.value2 == null ? other.value2 != null : !this.value2.equals((java.lang.Object)other.value2)) return false;
return true;
}