]> git.mxchange.org Git - jbonuscard-core.git/commitdiff
Continued:
authorRoland Häder <roland@mxchange.org>
Sat, 9 May 2020 23:55:56 +0000 (01:55 +0200)
committerRoland Häder <roland@mxchange.org>
Sat, 9 May 2020 23:55:56 +0000 (01:55 +0200)
- renamed other to fooEntity

Signed-off-by: Roland Häder <roland@mxchange.org>
src/org/mxchange/jbonuscard/model/bonus_card/RoyalityCard.java

index 2f9a1cef1b2b10315685b74141243310537ef77e..276b46ef8871ba4ad46ebef6638e50a04569720a 100644 (file)
@@ -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;
                }