]> git.mxchange.org Git - jcontacts-business-core.git/commitdiff
Continued:
authorRoland Häder <roland@mxchange.org>
Sat, 9 May 2020 22:46:41 +0000 (00:46 +0200)
committerRoland Häder <roland@mxchange.org>
Sat, 9 May 2020 22:46:41 +0000 (00:46 +0200)
- also don't include empoyee here, too.

Signed-off-by: Roland Häder <roland@mxchange.org>
src/org/mxchange/jcontactsbusiness/model/headquarter/BusinessHeadquarter.java

index c12496f731f0d9e1d76004e1b9df0a9ad124b00f..27923e1de45168ab85978480dfa7b21d24641ed5 100644 (file)
@@ -346,8 +346,6 @@ public class BusinessHeadquarter implements Headquarter {
                        return false;
                } else if (!Objects.equals(this.getHeadquarterCompanyName(), headquarter.getHeadquarterCompanyName())) {
                        return false;
-               } else if (!Objects.equals(this.getHeadquarterContactEmployee(), headquarter.getHeadquarterContactEmployee())) {
-                       return false;
                } else if (!Objects.equals(this.getHeadquarterCountry(), headquarter.getHeadquarterCountry())) {
                        return false;
                } else if (!Objects.equals(this.getHeadquarterEmailAddress(), headquarter.getHeadquarterEmailAddress())) {
@@ -579,7 +577,6 @@ public class BusinessHeadquarter implements Headquarter {
 
                hash = 47 * hash + Objects.hashCode(this.getHeadquarterCity());
                hash = 47 * hash + Objects.hashCode(this.getHeadquarterCompanyName());
-               hash = 47 * hash + Objects.hashCode(this.getHeadquarterContactEmployee());
                hash = 47 * hash + Objects.hashCode(this.getHeadquarterCountry());
                hash = 47 * hash + Objects.hashCode(this.getHeadquarterEmailAddress());
                hash = 47 * hash + Objects.hashCode(this.getHeadquarterFaxNumber());