]> git.mxchange.org Git - jcontacts-core.git/commitdiff
Continued:
authorRoland Häder <roland@mxchange.org>
Sat, 9 May 2020 23:32:23 +0000 (01:32 +0200)
committerRoland Häder <roland@mxchange.org>
Sat, 9 May 2020 23:32:23 +0000 (01:32 +0200)
- renamed other -> entityName

Signed-off-by: Roland Häder <roland@mxchange.org>
src/org/mxchange/jcontacts/model/contact/UserContact.java

index 0bc9850da0acc77a6d8cdd9bb475e62f5ce61b5e..df12788753654fb1c0d77ce10c661b4e56f9ef09 100644 (file)
@@ -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;
                }