From: Roland Häder Date: Sat, 9 May 2020 23:33:16 +0000 (+0200) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=32d72a612a887c6fb49ceeed18d4090686c11086;p=jaddressbook-share-core.git Continued: - renamed other -> entityName Signed-off-by: Roland Häder --- diff --git a/src/org/mxchange/jaddressbookshare/model/addressbook/shared/AddressbookShare.java b/src/org/mxchange/jaddressbookshare/model/addressbook/shared/AddressbookShare.java index 5c9fda4..c211946 100644 --- a/src/org/mxchange/jaddressbookshare/model/addressbook/shared/AddressbookShare.java +++ b/src/org/mxchange/jaddressbookshare/model/addressbook/shared/AddressbookShare.java @@ -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