mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-30 13:47:05 +02:00
Refactoring
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user