Refactoring

This commit is contained in:
M66B
2020-08-20 22:43:42 +02:00
parent 24b6da0598
commit 9be5a82e0e
3 changed files with 6 additions and 4 deletions

View File

@@ -19,10 +19,12 @@ package eu.faircode.email;
Copyright 2018-2020 by Marcel Bokhorst (M66B)
*/
import java.util.Objects;
public class TupleAccountEx extends EntityAccount {
public int unseen;
public int identities; // synchronizing
public boolean drafts;
public Long drafts;
@Override
public boolean equals(Object obj) {
@@ -31,7 +33,7 @@ public class TupleAccountEx extends EntityAccount {
return (super.equals(obj) &&
this.unseen == other.unseen &&
this.identities == other.identities &&
this.drafts == other.drafts);
Objects.equals(this.drafts, other.drafts));
} else
return false;
}