Removed drafts warning from identities

This commit is contained in:
M66B
2020-08-20 22:54:14 +02:00
parent 9be5a82e0e
commit 1dee158194
4 changed files with 6 additions and 28 deletions

View File

@@ -23,15 +23,13 @@ import java.util.Objects;
public class TupleIdentityEx extends EntityIdentity {
public String accountName;
public Long drafts;
@Override
public boolean equals(Object obj) {
if (obj instanceof TupleIdentityEx) {
TupleIdentityEx other = (TupleIdentityEx) obj;
return (super.equals(obj) &&
Objects.equals(accountName, other.accountName) &&
Objects.equals(drafts, other.drafts));
Objects.equals(accountName, other.accountName));
} else
return false;
}