From: Roland Häder Date: Sat, 9 May 2020 23:49:51 +0000 (+0200) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=1c936a8215471e135de96c8944fe2f3387585ac1;hp=5692baf6ecb7546a5720d5f7b1f65ed546a350b4;p=jcustomer-core.git Continued: - renamed other to fooEntity Signed-off-by: Roland Häder --- diff --git a/src/org/mxchange/jcustomercore/model/customer/ContactCustomer.java b/src/org/mxchange/jcustomercore/model/customer/ContactCustomer.java index 4372510..1984446 100644 --- a/src/org/mxchange/jcustomercore/model/customer/ContactCustomer.java +++ b/src/org/mxchange/jcustomercore/model/customer/ContactCustomer.java @@ -201,23 +201,23 @@ public class ContactCustomer implements Customer { return false; } - final Customer other = (Customer) object; + final Customer customer = (Customer) object; - if (!Objects.equals(this.getCustomerAccountStatus(), other.getCustomerAccountStatus())) { + if (!Objects.equals(this.getCustomerAccountStatus(), customer.getCustomerAccountStatus())) { return false; - } else if (!Objects.equals(this.getCustomerConfirmKey(), other.getCustomerConfirmKey())) { + } else if (!Objects.equals(this.getCustomerConfirmKey(), customer.getCustomerConfirmKey())) { return false; - } else if (!Objects.equals(this.getCustomerContact(), other.getCustomerContact())) { + } else if (!Objects.equals(this.getCustomerContact(), customer.getCustomerContact())) { return false; - } else if (!Objects.equals(this.getCustomerId(), other.getCustomerId())) { + } else if (!Objects.equals(this.getCustomerId(), customer.getCustomerId())) { return false; - } else if (!Objects.equals(this.getCustomerLastLocked(), other.getCustomerLastLocked())) { + } else if (!Objects.equals(this.getCustomerLastLocked(), customer.getCustomerLastLocked())) { return false; - } else if (!Objects.equals(this.getCustomerLastLockedReason(), other.getCustomerLastLockedReason())) { + } else if (!Objects.equals(this.getCustomerLastLockedReason(), customer.getCustomerLastLockedReason())) { return false; - } else if (!Objects.equals(this.getCustomerNumber(), other.getCustomerNumber())) { + } else if (!Objects.equals(this.getCustomerNumber(), customer.getCustomerNumber())) { return false; - } else if (!Objects.equals(this.getCustomerPasswordHash(), other.getCustomerPasswordHash())) { + } else if (!Objects.equals(this.getCustomerPasswordHash(), customer.getCustomerPasswordHash())) { return false; }