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

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