Revert "Removed drafts warning from identities"

This reverts commit 1dee158194.
This commit is contained in:
M66B
2020-08-21 07:42:45 +02:00
parent 352f757ede
commit fba7599c8c
4 changed files with 26 additions and 6 deletions

View File

@@ -23,13 +23,15 @@ 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(accountName, other.accountName) &&
Objects.equals(drafts, other.drafts));
} else
return false;
}