From 619592203a29ff92ecde49587179b63dd487187b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sun, 10 May 2020 01:55:56 +0200 Subject: [PATCH] Continued: - renamed other to fooEntity MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- .../model/bonus_card/RoyalityCard.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/org/mxchange/jbonuscard/model/bonus_card/RoyalityCard.java b/src/org/mxchange/jbonuscard/model/bonus_card/RoyalityCard.java index 2f9a1ce..276b46e 100644 --- a/src/org/mxchange/jbonuscard/model/bonus_card/RoyalityCard.java +++ b/src/org/mxchange/jbonuscard/model/bonus_card/RoyalityCard.java @@ -212,21 +212,21 @@ public class RoyalityCard implements BonusCard { return false; } - final BonusCard other = (BonusCard) object; + final BonusCard bonusCard = (BonusCard) object; - if (!Objects.equals(this.getBonusCardBarCode(), other.getBonusCardBarCode())) { + if (!Objects.equals(this.getBonusCardBarCode(), bonusCard.getBonusCardBarCode())) { return false; - } else if (!Objects.equals(this.getBonusCardContact(), other.getBonusCardContact())) { + } else if (!Objects.equals(this.getBonusCardContact(), bonusCard.getBonusCardContact())) { return false; - } else if (!Objects.equals(this.getBonusCardCustomer(), other.getBonusCardCustomer())) { + } else if (!Objects.equals(this.getBonusCardCustomer(), bonusCard.getBonusCardCustomer())) { return false; - } else if (!Objects.equals(this.getBonusCardId(), other.getBonusCardId())) { + } else if (!Objects.equals(this.getBonusCardId(), bonusCard.getBonusCardId())) { return false; - } else if (!Objects.equals(this.getBonusCardIssuer(), other.getBonusCardIssuer())) { + } else if (!Objects.equals(this.getBonusCardIssuer(), bonusCard.getBonusCardIssuer())) { return false; - } else if (!Objects.equals(this.getBonusCardNumber(), other.getBonusCardNumber())) { + } else if (!Objects.equals(this.getBonusCardNumber(), bonusCard.getBonusCardNumber())) { return false; - } else if (!Objects.equals(this.getBonusCardPartner(), other.getBonusCardPartner())) { + } else if (!Objects.equals(this.getBonusCardPartner(), bonusCard.getBonusCardPartner())) { return false; } -- 2.39.5