Fixed unit tests to take into account work on issue 289 and 287.

This commit is contained in:
Roel Spilker committed 2011-11-01 00:53:21 +01:00
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")