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

Signed-off-by: Roland Häder <roland@mxchange.org>
src/org/mxchange/jaddressbookshare/model/addressbook/shared/AddressbookShare.java

index 5c9fda4bca9cd6c96984cbccc416eb950148a785..c211946b44ffd7ddb612b84d798c37df0b899d7b 100644 (file)
@@ -195,19 +195,19 @@ public class AddressbookShare implements ShareableAddressbook {
                        return false;
                }
 
-               final ShareableAddressbook other = (ShareableAddressbook) object;
+               final ShareableAddressbook shared = (ShareableAddressbook) object;
 
-               if (!Objects.equals(this.getShareAddressbook(), other.getShareAddressbook())) {
+               if (!Objects.equals(this.getShareAddressbook(), shared.getShareAddressbook())) {
                        return false;
-               } else if (!Objects.equals(this.getShareId(), other.getShareId())) {
+               } else if (!Objects.equals(this.getShareId(), shared.getShareId())) {
                        return false;
-               } else if (!Objects.equals(this.getShareUserOwner(), other.getShareUserOwner())) {
+               } else if (!Objects.equals(this.getShareUserOwner(), shared.getShareUserOwner())) {
                        return false;
-               } else if (!Objects.equals(this.getShareUserSharee(), other.getShareUserSharee())) {
+               } else if (!Objects.equals(this.getShareUserSharee(), shared.getShareUserSharee())) {
                        return false;
                }
 
-               return Objects.equals(this.getShareUserSharee(), other.getShareUserSharee());
+               return Objects.equals(this.getShareUserSharee(), shared.getShareUserSharee());
        }
 
        @Override