]> git.mxchange.org Git - jjobs-war.git/blobdiff - src/java/org/mxchange/jjobs/beans/country/JobsAdminCountryWebRequestBean.java
Closed internal TODO: (please cherry-pick this)
[jjobs-war.git] / src / java / org / mxchange / jjobs / beans / country / JobsAdminCountryWebRequestBean.java
index 51eb57e056865df8cdd1630ef737dd39f65b0b77..9b6117fe5f5f17fd6106d848e414f0b93b83087f 100644 (file)
@@ -124,7 +124,7 @@ public class JobsAdminCountryWebRequestBean extends BaseJobsController implement
                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());
 
@@ -247,7 +247,7 @@ public class JobsAdminCountryWebRequestBean extends BaseJobsController implement
                        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;