diff options
author | Reinier Zwitserloot <reinier@zwitserloot.com> | 2011-01-17 23:57:11 +0100 |
---|---|---|
committer | Reinier Zwitserloot <reinier@zwitserloot.com> | 2011-01-17 23:57:11 +0100 |
commit | 41a85d2814a979cb2c1c31b5a95dd96cd8a23f87 (patch) | |
tree | f41a0c45d4c1f23b76294c00cd9748a717d3f98c /test/transform/resource/after-ecj/DataOnLocalClass.java | |
parent | 47037e2830057143d1597b8d6b6725143ea09f0d (diff) | |
download | lombok-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-ecj/DataOnLocalClass.java')
-rw-r--r-- | test/transform/resource/after-ecj/DataOnLocalClass.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/transform/resource/after-ecj/DataOnLocalClass.java b/test/transform/resource/after-ecj/DataOnLocalClass.java index b987b967..6c85fae7 100644 --- a/test/transform/resource/after-ecj/DataOnLocalClass.java +++ b/test/transform/resource/after-ecj/DataOnLocalClass.java @@ -26,11 +26,11 @@ class DataOnLocalClass1 { if ((! (o instanceof Local))) return false; final Local other = (Local) o; - if ((! other.canEqual(this))) + if ((! other.canEqual((java.lang.Object) this))) return false; if ((this.getX() != other.getX())) return false; - if (((this.getName() == null) ? (other.getName() != null) : (! this.getName().equals(other.getName())))) + if (((this.getName() == null) ? (other.getName() != null) : (! this.getName().equals((java.lang.Object) other.getName())))) return false; return true; } @@ -75,9 +75,9 @@ class DataOnLocalClass2 { if ((! (o instanceof InnerLocal))) return false; final InnerLocal other = (InnerLocal) o; - if ((! other.canEqual(this))) + if ((! other.canEqual((java.lang.Object) this))) return false; - if (((this.getName() == null) ? (other.getName() != null) : (! this.getName().equals(other.getName())))) + if (((this.getName() == null) ? (other.getName() != null) : (! this.getName().equals((java.lang.Object) other.getName())))) return false; return true; } @@ -108,7 +108,7 @@ class DataOnLocalClass2 { if ((! (o instanceof Local))) return false; final Local other = (Local) o; - if ((! other.canEqual(this))) + if ((! other.canEqual((java.lang.Object) this))) return false; if ((this.getX() != other.getX())) return false; |