mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-12 20:15:55 +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
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user