X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2Fjava%2Forg%2Fmxchange%2Fjjobs%2Fbeans%2Fcountry%2FJobsAdminCountryWebRequestBean.java;h=9b6117fe5f5f17fd6106d848e414f0b93b83087f;hb=c5081875aa28935bb1a02e5c4713ed6209eee1f4;hp=ed3beb6d27956f175a024115167fc1bd8b0d9b1c;hpb=7df96f7b90b9dda087ddd16b13ec0eac54157aa9;p=jjobs-war.git diff --git a/src/java/org/mxchange/jjobs/beans/country/JobsAdminCountryWebRequestBean.java b/src/java/org/mxchange/jjobs/beans/country/JobsAdminCountryWebRequestBean.java index ed3beb6d..9b6117fe 100644 --- a/src/java/org/mxchange/jjobs/beans/country/JobsAdminCountryWebRequestBean.java +++ b/src/java/org/mxchange/jjobs/beans/country/JobsAdminCountryWebRequestBean.java @@ -34,6 +34,7 @@ import org.mxchange.jcountry.data.CountrySingletonBeanRemote; import org.mxchange.jcountry.events.AdminAddedCountryEvent; import org.mxchange.jcountry.events.AdminEventCountryAdded; import org.mxchange.jcountry.exceptions.CountryAlreadyAddedException; +import org.mxchange.jjobs.beans.BaseJobsController; /** * An administrative country bean @@ -42,7 +43,7 @@ import org.mxchange.jcountry.exceptions.CountryAlreadyAddedException; */ @Named ("adminCountryController") @RequestScoped -public class JobsAdminCountryWebRequestBean implements JobsAdminCountryWebRequestController { +public class JobsAdminCountryWebRequestBean extends BaseJobsController implements JobsAdminCountryWebRequestController { /** * Serial number @@ -123,7 +124,7 @@ public class JobsAdminCountryWebRequestBean implements JobsAdminCountryWebReques country.setCountryAbroadDialPrefix(this.getCountryAbroadDialPrefix()); country.setCountryCode(this.getCountryCode()); country.setCountryExternalDialPrefix(this.getCountryExternalDialPrefix()); - country.setCountryI18nkey(this.getCountryI18nKey()); + country.setCountryI18nKey(this.getCountryI18nKey()); country.setCountryIsLocalPrefixRequired(this.getCountryIsLocalPrefixRequired()); country.setCountryPhoneCode(this.getCountryPhoneCode()); @@ -246,7 +247,7 @@ public class JobsAdminCountryWebRequestBean implements JobsAdminCountryWebReques Country next = iterator.next(); // Is country code or i18n the same? - if ((Objects.equals(country.getCountryCode(), next.getCountryCode())) || (Objects.equals(country.getCountryI18nkey(), next.getCountryI18nkey()))) { + if ((Objects.equals(country.getCountryCode(), next.getCountryCode())) || (Objects.equals(country.getCountryI18nKey(), next.getCountryI18nKey()))) { // Yes, then abort search isAdded = true; break;