mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-16 14:13:32 +00:00
Fixed unit tests to take into account work on issue 289 and 287.
This commit is contained in:
1 parent
58f0117d20
commit
2fcfc4c3dc
22 files changed
+53
-67
No files matched your search
@@ -77,7 +77,7 @@ class DataOnLocalClass2 {
|
||||
@java.lang.SuppressWarnings("all")
|
||||
public boolean equals(final java.lang.Object o) {
|
||||
if (o == this) return true;
|
||||
if (!(o instanceof InnerLocal)) return false;
|
||||
if (!(o instanceof Local.InnerLocal)) return false;
|
||||
final InnerLocal other = (InnerLocal)o;
|
||||
if (!other.canEqual((java.lang.Object)this)) return false;
|
||||
if (this.getName() == null ? other.getName() != null : !this.getName().equals((java.lang.Object)other.getName())) return false;
|
||||
@@ -85,7 +85,7 @@ class DataOnLocalClass2 {
|
||||
}
|
||||
@java.lang.SuppressWarnings("all")
|
||||
public boolean canEqual(final java.lang.Object other) {
|
||||
return other instanceof InnerLocal;
|
||||
return other instanceof Local.InnerLocal;
|
||||
}
|
||||
@java.lang.Override
|
||||
@java.lang.SuppressWarnings("all")
|
||||
|
||||
Reference in new issue
Block a user