mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-14 04:16:19 +00:00
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.
This commit is contained in:
1 parent
47037e2830
commit
41a85d2814
15 files changed
+42
-43
No files matched your search
@@ -18,13 +18,13 @@
|
||||
if ((! (o instanceof DataWithGetterNone)))
|
||||
return false;
|
||||
final DataWithGetterNone other = (DataWithGetterNone) o;
|
||||
if ((! other.canEqual(this)))
|
||||
if ((! other.canEqual((java.lang.Object) this)))
|
||||
return false;
|
||||
if ((this.x != other.x))
|
||||
return false;
|
||||
if ((this.y != other.y))
|
||||
return false;
|
||||
if (((this.z == null) ? (other.z != null) : (! this.z.equals(other.z))))
|
||||
if (((this.z == null) ? (other.z != null) : (! this.z.equals((java.lang.Object) other.z))))
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user