From 097f49b3b3bbe9d2f22fe8a4f9a0041d86862562 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Thu, 6 Oct 2022 16:10:41 +0200 Subject: [PATCH] Continued: - updated package/class references - used BasicDataUtils.compare() again --- .../jbonuscard/model/bonus_card/RoyalityCard.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/org/mxchange/jbonuscard/model/bonus_card/RoyalityCard.java b/src/org/mxchange/jbonuscard/model/bonus_card/RoyalityCard.java index 9979610..ada09ef 100644 --- a/src/org/mxchange/jbonuscard/model/bonus_card/RoyalityCard.java +++ b/src/org/mxchange/jbonuscard/model/bonus_card/RoyalityCard.java @@ -34,11 +34,11 @@ import javax.persistence.TemporalType; import javax.persistence.Transient; import org.apache.commons.lang3.StringUtils; import org.mxchange.jcontacts.model.contact.Contact; -import org.mxchange.jcontacts.model.contact.Contacts; import org.mxchange.jcontacts.model.contact.UserContact; +import org.mxchange.jcontacts.model.utils.ContactUtils; import org.mxchange.jcontactsbusiness.model.basicdata.BasicData; -import org.mxchange.jcontactsbusiness.model.basicdata.BasicDataUtils; import org.mxchange.jcontactsbusiness.model.basicdata.BusinessBasicData; +import org.mxchange.jcontactsbusiness.model.utils.BasicDataUtils; import org.mxchange.jcoreutils.Comparables; import org.mxchange.jcustomercore.model.customer.ContactCustomer; import org.mxchange.jcustomercore.model.customer.Customer; @@ -187,9 +187,9 @@ public class RoyalityCard implements BonusCard { // ... customer data Customers.compare(this.getBonusCardCustomer(), bonusCard.getBonusCardCustomer()), // ... contact data (card holder) - Contacts.compare(this.getBonusCardContact(), bonusCard.getBonusCardContact()), + ContactUtils.compare(this.getBonusCardContact(), bonusCard.getBonusCardContact()), // ... issuing company data - this.getBonusCardIssuer().compareTo(bonusCard.getBonusCardIssuer()), + BasicDataUtils.compare(this.getBonusCardIssuer(), bonusCard.getBonusCardIssuer()), // ... partner company data BasicDataUtils.compare(this.getBonusCardPartner(), bonusCard.getBonusCardPartner()) }; -- 2.39.5