mirror of
https://github.com/M66B/FairEmail.git
synced 2025-12-28 00:20:50 +01:00
Fixed equals
This commit is contained in:
@@ -51,7 +51,7 @@ public class EntityAccount {
|
||||
public boolean equals(Object obj) {
|
||||
if (obj instanceof EntityAccount) {
|
||||
EntityAccount other = (EntityAccount) obj;
|
||||
return (this.name == null ? other.name == null : this.name.equals(other.name) &&
|
||||
return ((this.name == null ? other.name == null : this.name.equals(other.name)) &&
|
||||
this.host.equals(other.host) &&
|
||||
this.port.equals(other.port) &&
|
||||
this.user.equals(other.user) &&
|
||||
|
||||
Reference in New Issue
Block a user