From: Roland Häder Date: Wed, 19 Oct 2022 11:48:35 +0000 (+0200) Subject: Changed: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=2b5e8eb86b6c6f0825a95d20c95660d112d947c9;p=jcontacts-business-core.git Changed: - updated reference from Comparables to ComparableUtils Signed-off-by: Roland Häder --- diff --git a/src/org/mxchange/jcontactsbusiness/model/basicdata/BusinessBasicData.java b/src/org/mxchange/jcontactsbusiness/model/basicdata/BusinessBasicData.java index e1b2841..38308b7 100644 --- a/src/org/mxchange/jcontactsbusiness/model/basicdata/BusinessBasicData.java +++ b/src/org/mxchange/jcontactsbusiness/model/basicdata/BusinessBasicData.java @@ -44,7 +44,7 @@ import org.mxchange.jcontactsbusiness.model.headquarter.Headquarter; import org.mxchange.jcontactsbusiness.model.logo.BusinessLogo; import org.mxchange.jcontactsbusiness.model.logo.Logo; import org.mxchange.jcontactsbusiness.model.utils.HeadquarterUtils; -import org.mxchange.jcoreutils.comparable.Comparables; +import org.mxchange.jcoreutils.comparable.ComparableUtils; import org.mxchange.jphone.model.phonenumbers.fax.DialableFaxNumber; import org.mxchange.jphone.model.phonenumbers.fax.FaxNumber; import org.mxchange.jphone.model.phonenumbers.landline.DialableLandLineNumber; @@ -245,7 +245,7 @@ public class BusinessBasicData implements BasicData { }; // Check all values - final int comparison = Comparables.checkAll(comparators); + final int comparison = ComparableUtils.checkAll(comparators); // Return value return comparison; diff --git a/src/org/mxchange/jcontactsbusiness/model/branchoffice/BusinessBranchOffice.java b/src/org/mxchange/jcontactsbusiness/model/branchoffice/BusinessBranchOffice.java index f24a8bf..4719836 100644 --- a/src/org/mxchange/jcontactsbusiness/model/branchoffice/BusinessBranchOffice.java +++ b/src/org/mxchange/jcontactsbusiness/model/branchoffice/BusinessBranchOffice.java @@ -46,7 +46,7 @@ import org.mxchange.jcontactsbusiness.model.basicdata.BasicData; import org.mxchange.jcontactsbusiness.model.basicdata.BusinessBasicData; import org.mxchange.jcontactsbusiness.model.opening_time.BusinessOpeningTime; import org.mxchange.jcontactsbusiness.model.opening_time.OpeningTime; -import org.mxchange.jcoreutils.comparable.Comparables; +import org.mxchange.jcoreutils.comparable.ComparableUtils; import org.mxchange.jcoreutils.number.SafeNumberUtils; import org.mxchange.jcountry.model.data.Country; import org.mxchange.jcountry.model.data.CountryData; @@ -357,7 +357,7 @@ UserUtils.compare(this.getBranchUserOwner(), branchOffice.getBranchUserOwner()) }; // Check all values - final int comparison = Comparables.checkAll(comparators); + final int comparison = ComparableUtils.checkAll(comparators); // Return value return comparison; diff --git a/src/org/mxchange/jcontactsbusiness/model/department/BusinessDepartment.java b/src/org/mxchange/jcontactsbusiness/model/department/BusinessDepartment.java index 88d606e..406a6d2 100644 --- a/src/org/mxchange/jcontactsbusiness/model/department/BusinessDepartment.java +++ b/src/org/mxchange/jcontactsbusiness/model/department/BusinessDepartment.java @@ -47,7 +47,7 @@ import org.mxchange.jcontactsbusiness.model.headquarter.Headquarter; import org.mxchange.jcontactsbusiness.model.utils.BasicDataUtils; import org.mxchange.jcontactsbusiness.model.utils.BranchOfficeUtils; import org.mxchange.jcontactsbusiness.model.utils.HeadquarterUtils; -import org.mxchange.jcoreutils.comparable.Comparables; +import org.mxchange.jcoreutils.comparable.ComparableUtils; import org.mxchange.jusercore.model.user.LoginUser; import org.mxchange.jusercore.model.user.User; import org.mxchange.jusercore.model.utils.UserUtils; @@ -200,7 +200,7 @@ UserUtils.compare(this.getDepartmentUserOwner(), department.getDepartmentUserOwn }; // Check all values - final int comparison = Comparables.checkAll(comparators); + final int comparison = ComparableUtils.checkAll(comparators); // Return value return comparison; diff --git a/src/org/mxchange/jcontactsbusiness/model/employee/BusinessEmployee.java b/src/org/mxchange/jcontactsbusiness/model/employee/BusinessEmployee.java index 110dcd2..8e19944 100644 --- a/src/org/mxchange/jcontactsbusiness/model/employee/BusinessEmployee.java +++ b/src/org/mxchange/jcontactsbusiness/model/employee/BusinessEmployee.java @@ -52,7 +52,7 @@ import org.mxchange.jcontactsbusiness.model.utils.BasicDataUtils; import org.mxchange.jcontactsbusiness.model.utils.BranchOfficeUtils; import org.mxchange.jcontactsbusiness.model.utils.DepartmentUtils; import org.mxchange.jcontactsbusiness.model.utils.HeadquarterUtils; -import org.mxchange.jcoreutils.comparable.Comparables; +import org.mxchange.jcoreutils.comparable.ComparableUtils; import org.mxchange.jphone.model.phonenumbers.mobile.DialableMobileNumber; import org.mxchange.jphone.model.phonenumbers.mobile.MobileNumber; import org.mxchange.jusercore.model.user.LoginUser; @@ -240,7 +240,7 @@ JobPositionUtils.compare(this.getEmployeeJobPosition(), employable.getEmployeeJo HeadquarterUtils.compare(this.getEmployeeHeadquarter(), employable.getEmployeeHeadquarter()),}; // Check all values - final int comparison = Comparables.checkAll(comparators); + final int comparison = ComparableUtils.checkAll(comparators); // Return value return comparison; diff --git a/src/org/mxchange/jcontactsbusiness/model/headquarter/BusinessHeadquarter.java b/src/org/mxchange/jcontactsbusiness/model/headquarter/BusinessHeadquarter.java index d3af899..386f25b 100644 --- a/src/org/mxchange/jcontactsbusiness/model/headquarter/BusinessHeadquarter.java +++ b/src/org/mxchange/jcontactsbusiness/model/headquarter/BusinessHeadquarter.java @@ -42,7 +42,7 @@ import org.mxchange.jcontacts.model.contact.Contact; import org.mxchange.jcontacts.model.contact.UserContact; import org.mxchange.jcontactsbusiness.model.opening_time.BusinessOpeningTime; import org.mxchange.jcontactsbusiness.model.opening_time.OpeningTime; -import org.mxchange.jcoreutils.comparable.Comparables; +import org.mxchange.jcoreutils.comparable.ComparableUtils; import org.mxchange.jcoreutils.number.SafeNumberUtils; import org.mxchange.jcountry.model.data.Country; import org.mxchange.jcountry.model.data.CountryData; @@ -327,7 +327,7 @@ public class BusinessHeadquarter implements Headquarter { }; // Check all values - final int comparison = Comparables.checkAll(comparators); + final int comparison = ComparableUtils.checkAll(comparators); // Return value return comparison; diff --git a/src/org/mxchange/jcontactsbusiness/model/jobposition/EmployeePosition.java b/src/org/mxchange/jcontactsbusiness/model/jobposition/EmployeePosition.java index 3641b6e..b94ed3c 100644 --- a/src/org/mxchange/jcontactsbusiness/model/jobposition/EmployeePosition.java +++ b/src/org/mxchange/jcontactsbusiness/model/jobposition/EmployeePosition.java @@ -35,7 +35,7 @@ import javax.persistence.TemporalType; import javax.persistence.Transient; import org.apache.commons.lang3.StringUtils; import org.mxchange.jcontactsbusiness.model.jobposition.status.JobPositionStatus; -import org.mxchange.jcoreutils.comparable.Comparables; +import org.mxchange.jcoreutils.comparable.ComparableUtils; import org.mxchange.jusercore.model.user.LoginUser; import org.mxchange.jusercore.model.user.User; import org.mxchange.jusercore.model.utils.UserUtils; @@ -152,7 +152,7 @@ public class EmployeePosition implements HireableJobPosition { }; // Check all values - final int comparison = Comparables.checkAll(comparators); + final int comparison = ComparableUtils.checkAll(comparators); // Return value return comparison; diff --git a/src/org/mxchange/jcontactsbusiness/model/logo/BusinessLogo.java b/src/org/mxchange/jcontactsbusiness/model/logo/BusinessLogo.java index 3698135..3ff722a 100644 --- a/src/org/mxchange/jcontactsbusiness/model/logo/BusinessLogo.java +++ b/src/org/mxchange/jcontactsbusiness/model/logo/BusinessLogo.java @@ -32,7 +32,7 @@ import javax.persistence.Temporal; import javax.persistence.TemporalType; import javax.persistence.Transient; import org.apache.commons.lang3.StringUtils; -import org.mxchange.jcoreutils.comparable.Comparables; +import org.mxchange.jcoreutils.comparable.ComparableUtils; import org.mxchange.jusercore.model.user.LoginUser; import org.mxchange.jusercore.model.user.User; import org.mxchange.jusercore.model.utils.UserUtils; @@ -111,7 +111,7 @@ UserUtils.compare(this.getLogoUploaderUser(), logo.getLogoUploaderUser()) }; // Check all values - final int comparison = Comparables.checkAll(comparators); + final int comparison = ComparableUtils.checkAll(comparators); // Return value return comparison; diff --git a/src/org/mxchange/jcontactsbusiness/model/opening_time/BusinessOpeningTime.java b/src/org/mxchange/jcontactsbusiness/model/opening_time/BusinessOpeningTime.java index e9fa7b1..4aedc98 100644 --- a/src/org/mxchange/jcontactsbusiness/model/opening_time/BusinessOpeningTime.java +++ b/src/org/mxchange/jcontactsbusiness/model/opening_time/BusinessOpeningTime.java @@ -33,7 +33,7 @@ import javax.persistence.Temporal; import javax.persistence.TemporalType; import javax.persistence.Transient; import org.mxchange.jcoreee.dates.DayOfTheWeek; -import org.mxchange.jcoreutils.comparable.Comparables; +import org.mxchange.jcoreutils.comparable.ComparableUtils; /** * A POJO for business opening hours @@ -176,7 +176,7 @@ public class BusinessOpeningTime implements OpeningTime { }; // Check all values - final int comparison = Comparables.checkAll(comparators); + final int comparison = ComparableUtils.checkAll(comparators); // Return value return comparison;