Small improvement

pull/205/head
M66B 3 years ago
parent 712e96c5e0
commit 88f5d85149

@ -240,7 +240,7 @@ public class EntityContact implements Serializable {
public boolean equals(@Nullable Object obj) {
if (obj instanceof EntityContact) {
EntityContact other = (EntityContact) obj;
return (this.account == other.account &&
return (this.account.equals(other.account) &&
this.type == other.type &&
this.email.equals(other.email) &&
Objects.equals(this.name, other.name) &&

Loading…
Cancel
Save