From a17324ae2e114c3efbb0d9c700dbc99504d2b8b5 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Thu, 28 Apr 2016 19:45:12 +0200 Subject: [PATCH] ignored for i18n --- .../customer/PizzaAdminCustomerWebRequestBean.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/java/org/mxchange/pizzaapplication/beans/customer/PizzaAdminCustomerWebRequestBean.java b/src/java/org/mxchange/pizzaapplication/beans/customer/PizzaAdminCustomerWebRequestBean.java index a8bc117c..3b530d33 100644 --- a/src/java/org/mxchange/pizzaapplication/beans/customer/PizzaAdminCustomerWebRequestBean.java +++ b/src/java/org/mxchange/pizzaapplication/beans/customer/PizzaAdminCustomerWebRequestBean.java @@ -159,22 +159,22 @@ public class PizzaAdminCustomerWebRequestBean implements PizzaAdminCustomerWebRe // Parameters must be valid if (null == customer) { // Throw NPE - throw new NullPointerException("customer is null"); + throw new NullPointerException("customer is null"); //NOI18N } else if (customer.getCustomerId() == null) { // Throw again ... - throw new NullPointerException("customer.customerId is null"); + throw new NullPointerException("customer.customerId is null"); //NOI18N } else if (customer.getCustomerId() < 1) { // Invalid id number - throw new IllegalArgumentException(MessageFormat.format("customer.customerId={0} is not valid", customer.getCustomerId())); + throw new IllegalArgumentException(MessageFormat.format("customer.customerId={0} is not valid", customer.getCustomerId())); //NOI18N } else if (customer.getCustomerContact() == null) { // Throw NPE again - throw new NullPointerException("customer.customerContact is null"); + throw new NullPointerException("customer.customerContact is null"); //NOI18N } else if (customer.getCustomerContact().getContactId() == null) { // .. and again - throw new NullPointerException("customer.customerContact.contactId is null"); + throw new NullPointerException("customer.customerContact.contactId is null"); //NOI18N } else if (customer.getCustomerContact().getContactId() < 1) { // Invalid id - throw new IllegalArgumentException(MessageFormat.format("customer.customerContact.contactId={0} is not valid", customer.getCustomerContact().getContactId())); + throw new IllegalArgumentException(MessageFormat.format("customer.customerContact.contactId={0} is not valid", customer.getCustomerContact().getContactId())); //NOI18N } // @TODO Set all data -- 2.39.2