From: Roland Häder Date: Sat, 9 May 2020 22:46:41 +0000 (+0200) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=5fde347363fbbb80d2681d6852c8d6aa2e3103ef;p=jcontacts-business-core.git Continued: - also don't include empoyee here, too. Signed-off-by: Roland Häder --- diff --git a/src/org/mxchange/jcontactsbusiness/model/headquarter/BusinessHeadquarter.java b/src/org/mxchange/jcontactsbusiness/model/headquarter/BusinessHeadquarter.java index c12496f..27923e1 100644 --- a/src/org/mxchange/jcontactsbusiness/model/headquarter/BusinessHeadquarter.java +++ b/src/org/mxchange/jcontactsbusiness/model/headquarter/BusinessHeadquarter.java @@ -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());