From 32d72a612a887c6fb49ceeed18d4090686c11086 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sun, 10 May 2020 01:33:16 +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 --- .../model/addressbook/shared/AddressbookShare.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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 -- 2.39.5