Small improvement

This commit is contained in:
M66B 2021-09-04 19:26:39 +02:00
parent 712e96c5e0
commit 88f5d85149
1 changed files with 1 additions and 1 deletions

View File

@ -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) &&