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

Signed-off-by: Roland Häder <roland@mxchange.org>
src/org/mxchange/jaddressbook/model/addressbook/UserAddressbook.java
src/org/mxchange/jaddressbook/model/addressbook/entry/UserAddressbookEntry.java

index 252d46e6ca29ce3d95e5de9cf6c8c4b5e518f5c0..6853de7d16f72a6ec9776920628b352113813240 100644 (file)
@@ -180,19 +180,19 @@ public class UserAddressbook implements Addressbook {
                        return false;
                }
 
-               final Addressbook other = (Addressbook) object;
+               final Addressbook addressbook = (Addressbook) object;
 
-               if (!Objects.equals(this.getAddressbookId(), other.getAddressbookId())) {
+               if (!Objects.equals(this.getAddressbookId(), addressbook.getAddressbookId())) {
                        return false;
-               } else if (!Objects.equals(this.getAddressbookLastLocked(), other.getAddressbookLastLocked())) {
+               } else if (!Objects.equals(this.getAddressbookLastLocked(), addressbook.getAddressbookLastLocked())) {
                        return false;
-               } else if (!Objects.equals(this.getAddressbookLastLockedReason(), other.getAddressbookLastLockedReason())) {
+               } else if (!Objects.equals(this.getAddressbookLastLockedReason(), addressbook.getAddressbookLastLockedReason())) {
                        return false;
-               } else if (!Objects.equals(this.getAddressbookName(), other.getAddressbookName())) {
+               } else if (!Objects.equals(this.getAddressbookName(), addressbook.getAddressbookName())) {
                        return false;
-               } else if (!Objects.equals(this.getAddressbookStatus(), other.getAddressbookStatus())) {
+               } else if (!Objects.equals(this.getAddressbookStatus(), addressbook.getAddressbookStatus())) {
                        return false;
-               } else if (!Objects.equals(this.getAddressbookUser(), other.getAddressbookUser())) {
+               } else if (!Objects.equals(this.getAddressbookUser(), addressbook.getAddressbookUser())) {
                        return false;
                }
 
index 4d1a57d7fd4287ca0769f7cb349ba7242e6a4dbf..88b600362c0acfe40fce4dadf987807d36f2d466 100644 (file)
@@ -142,15 +142,15 @@ public class UserAddressbookEntry implements AddressbookEntry {
                        return false;
                }
 
-               final AddressbookEntry other = (AddressbookEntry) object;
+               final AddressbookEntry addressbookEntry = (AddressbookEntry) object;
 
-               if (!Objects.equals(this.getAddressbookEntryBusinessBasicData(), other.getAddressbookEntryBusinessBasicData())) {
+               if (!Objects.equals(this.getAddressbookEntryBusinessBasicData(), addressbookEntry.getAddressbookEntryBusinessBasicData())) {
                        return false;
-               } else if (!Objects.equals(this.getAddressbookEntryId(), other.getAddressbookEntryId())) {
+               } else if (!Objects.equals(this.getAddressbookEntryId(), addressbookEntry.getAddressbookEntryId())) {
                        return false;
-               } else if (!Objects.equals(this.getAddressbookEntryPrivateContact(), other.getAddressbookEntryPrivateContact())) {
+               } else if (!Objects.equals(this.getAddressbookEntryPrivateContact(), addressbookEntry.getAddressbookEntryPrivateContact())) {
                        return false;
-               } else if (!Objects.equals(this.getEntryAddressbook(), other.getEntryAddressbook())) {
+               } else if (!Objects.equals(this.getEntryAddressbook(), addressbookEntry.getEntryAddressbook())) {
                        return false;
                }