From: Roland Häder Date: Sat, 9 May 2020 23:55:56 +0000 (+0200) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=619592203a29ff92ecde49587179b63dd487187b;p=jbonuscard-core.git Continued: - renamed other to fooEntity Signed-off-by: Roland Häder --- 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; }