From e798c93ccb65a5d0ad745289227e7c1abba2c8b1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sun, 10 May 2020 01:32:23 +0200 Subject: [PATCH] Continued: - renamed other -> entityName MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- .../jcontacts/model/contact/UserContact.java | 38 +++++++++---------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/src/org/mxchange/jcontacts/model/contact/UserContact.java b/src/org/mxchange/jcontacts/model/contact/UserContact.java index 0bc9850..df12788 100644 --- a/src/org/mxchange/jcontacts/model/contact/UserContact.java +++ b/src/org/mxchange/jcontacts/model/contact/UserContact.java @@ -315,43 +315,43 @@ public class UserContact implements Contact { return false; } - final Contact other = (Contact) object; + final Contact contact = (Contact) object; - if (!Objects.equals(this.getContactBirthday(), other.getContactBirthday())) { + if (!Objects.equals(this.getContactBirthday(), contact.getContactBirthday())) { return false; - } else if (!Objects.equals(this.getContactCity(), other.getContactCity())) { + } else if (!Objects.equals(this.getContactCity(), contact.getContactCity())) { return false; - } else if (!Objects.equals(this.getContactComment(), other.getContactCountry())) { + } else if (!Objects.equals(this.getContactComment(), contact.getContactComment())) { return false; - } else if (!Objects.equals(this.getContactCountry(), other.getContactCountry())) { + } else if (!Objects.equals(this.getContactCountry(), contact.getContactCountry())) { return false; - } else if (!Objects.equals(this.getContactEmailAddress(), other.getContactEmailAddress())) { + } else if (!Objects.equals(this.getContactEmailAddress(), contact.getContactEmailAddress())) { return false; - } else if (!Objects.equals(this.getContactFamilyName(), other.getContactFamilyName())) { + } else if (!Objects.equals(this.getContactFamilyName(), contact.getContactFamilyName())) { return false; - } else if (!Objects.equals(this.getContactFaxNumber(), other.getContactFaxNumber())) { + } else if (!Objects.equals(this.getContactFaxNumber(), contact.getContactFaxNumber())) { return false; - } else if (!Objects.equals(this.getContactFirstName(), other.getContactFirstName())) { + } else if (!Objects.equals(this.getContactFirstName(), contact.getContactFirstName())) { return false; - } else if (!Objects.equals(this.getContactHouseNumber(), other.getContactHouseNumber())) { + } else if (!Objects.equals(this.getContactHouseNumber(), contact.getContactHouseNumber())) { return false; - } else if (!Objects.equals(this.getContactHouseNumberExtension(), other.getContactHouseNumberExtension())) { + } else if (!Objects.equals(this.getContactHouseNumberExtension(), contact.getContactHouseNumberExtension())) { return false; - } else if (!Objects.equals(this.getContactId(), other.getContactId())) { + } else if (!Objects.equals(this.getContactId(), contact.getContactId())) { return false; - } else if (!Objects.equals(this.getContactLandLineNumber(), other.getContactLandLineNumber())) { + } else if (!Objects.equals(this.getContactLandLineNumber(), contact.getContactLandLineNumber())) { return false; - } else if (!Objects.equals(this.getContactMobileNumber(), other.getContactMobileNumber())) { + } else if (!Objects.equals(this.getContactMobileNumber(), contact.getContactMobileNumber())) { return false; - } else if (this.getContactPersonalTitle() != other.getContactPersonalTitle()) { + } else if (this.getContactPersonalTitle() != contact.getContactPersonalTitle()) { return false; - } else if (!Objects.equals(this.getContactStreet(), other.getContactStreet())) { + } else if (!Objects.equals(this.getContactStreet(), contact.getContactStreet())) { return false; - } else if (!Objects.equals(this.getContactTitle(), other.getContactTitle())) { + } else if (!Objects.equals(this.getContactTitle(), contact.getContactTitle())) { return false; - } else if (!Objects.equals(this.getContactZipCode(), other.getContactZipCode())) { + } else if (!Objects.equals(this.getContactZipCode(), contact.getContactZipCode())) { return false; - } else if (!Objects.equals(this.isOwnContact(), other.isOwnContact())) { + } else if (!Objects.equals(this.isOwnContact(), contact.isOwnContact())) { return false; } -- 2.39.5