mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-14 22:17:41 +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
@@ -21,10 +21,10 @@ class DataWithGetter {
|
||||
if (o == this) return true;
|
||||
if (!(o instanceof DataWithGetter)) return false;
|
||||
final DataWithGetter other = (DataWithGetter)o;
|
||||
if (!other.canEqual(this)) return false;
|
||||
if (!other.canEqual((java.lang.Object)this)) return false;
|
||||
if (this.getX() != other.getX()) return false;
|
||||
if (this.getY() != other.getY()) return false;
|
||||
if (this.getZ() == null ? other.getZ() != null : !this.getZ().equals(other.getZ())) return false;
|
||||
if (this.getZ() == null ? other.getZ() != null : !this.getZ().equals((java.lang.Object)other.getZ())) return false;
|
||||
return true;
|
||||
}
|
||||
@java.lang.SuppressWarnings("all")
|
||||
|
||||
Reference in new issue
Block a user