From: Roland Häder <roland@mxchange.org> Date: Thu, 12 May 2016 14:44:26 +0000 (+0200) Subject: opps, forgot to clear this data (cherry-pick this) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=0e37e368e0719b116c5b21478be4e61d53450df6;p=pizzaservice-war.git opps, forgot to clear this data (cherry-pick this) Signed-off-by: Roland Häder <roland@mxchange.org> --- diff --git a/src/java/org/mxchange/pizzaapplication/beans/contact/PizzaContactWebSessionBean.java b/src/java/org/mxchange/pizzaapplication/beans/contact/PizzaContactWebSessionBean.java index 8db16164..8cab96ea 100644 --- a/src/java/org/mxchange/pizzaapplication/beans/contact/PizzaContactWebSessionBean.java +++ b/src/java/org/mxchange/pizzaapplication/beans/contact/PizzaContactWebSessionBean.java @@ -449,7 +449,6 @@ public class PizzaContactWebSessionBean implements PizzaContactWebSessionControl // Debug message //* NOISY-DEBUG: */ System.out.println(MessageFormat.format("{0}.createContactInstance: this.emailAddress={1}", this.getClass().getSimpleName(), this.getEmailAddress())); - // Don't set null or wrong references if ((phone instanceof DialableLandLineNumber) && (phone.getPhoneCountry() instanceof Country) && (this.getPhoneAreaCode() != null) && (this.getPhoneNumber() != null) && (this.getPhoneAreaCode() > 0) && (this.getPhoneNumber() > 0)) { // Now the number must be given @@ -509,7 +508,6 @@ public class PizzaContactWebSessionBean implements PizzaContactWebSessionControl // Trace message //* NOISY-DEBUG: */ System.out.println(MessageFormat.format("{0}.createContactInstance: contact={1} - EXIT!", this.getClass().getSimpleName(), contact)); - // Return it return contact; } @@ -916,11 +914,12 @@ public class PizzaContactWebSessionBean implements PizzaContactWebSessionControl this.setEmailAddressRepeat(null); this.setPhoneCountry(null); this.setPhoneAreaCode(null); + this.setPhoneCountry(null); this.setPhoneNumber(null); this.setCellphoneCarrier(null); this.setCellphoneNumber(null); - this.setFaxCountry(null); this.setFaxAreaCode(null); + this.setFaxCountry(null); this.setFaxNumber(null); // - other data