Fixed equals

This commit is contained in:
M66B
2018-08-04 19:54:33 +00:00
parent 242be4c511
commit fe1e43ad27
4 changed files with 19 additions and 19 deletions

View File

@@ -59,7 +59,7 @@ public class EntityIdentity {
EntityIdentity other = (EntityIdentity) obj;
return (this.name.equals(other.name) &&
this.email.equals(other.email) &&
this.replyto == null ? other.replyto == null : this.replyto.equals(other.replyto) &&
(this.replyto == null ? other.replyto == null : this.replyto.equals(other.replyto)) &&
this.host.equals(other.host) &&
this.port.equals(other.port) &&
this.starttls.equals(other.starttls) &&