]> git.mxchange.org Git - pizzaservice-ejb.git/commitdiff
applied naming convention (due to updated jar; please cherry-pick this)
authorRoland Häder <roland@mxchange.org>
Mon, 20 Jun 2016 08:54:24 +0000 (10:54 +0200)
committerRoland Haeder <roland@mxchange.org>
Wed, 27 Jul 2016 19:59:33 +0000 (21:59 +0200)
Signed-off-by: Roland Häder <roland@haeder.net>
src/java/org/mxchange/jcountry/data/PizzaCountrySingletonBean.java

index 87560601f1dff74306fd39b968473f87faaed4b6..f71df88f8664dd5e35dde75bfdfe9366bee71f16 100644 (file)
@@ -49,7 +49,7 @@ public class PizzaCountrySingletonBean extends BasePizzaDatabaseBean implements
                } else if (country.getCountryCode().isEmpty()) {
                        // Code is not set
                        throw new IllegalArgumentException("country.countryCode is empty"); //NOI18N
-               } else if (country.getCountryI18nkey().isEmpty()) {
+               } else if (country.getCountryI18nKey().isEmpty()) {
                        // I18n key is not set
                        throw new IllegalArgumentException("country.countryI18nKey is empty"); //NOI18N
                } else if (country.getCountryId() != null) {
@@ -98,7 +98,7 @@ public class PizzaCountrySingletonBean extends BasePizzaDatabaseBean implements
                } else if (country.getCountryCode().isEmpty()) {
                        // Code is not set
                        throw new IllegalArgumentException("country.countryCode is empty"); //NOI18N
-               } else if (country.getCountryI18nkey().isEmpty()) {
+               } else if (country.getCountryI18nKey().isEmpty()) {
                        // I18n key is not set
                        throw new IllegalArgumentException("country.countryI18nKey is empty"); //NOI18N
                } else if (country.getCountryId() != null) {
@@ -114,7 +114,7 @@ public class PizzaCountrySingletonBean extends BasePizzaDatabaseBean implements
 
                // Assign all parameters
                query.setParameter("code", country.getCountryCode()); //NOI18N
-               query.setParameter("key", country.getCountryI18nkey()); //NOI18N
+               query.setParameter("key", country.getCountryI18nKey()); //NOI18N
 
                // Try to get a single result
                try {