From 0e37e368e0719b116c5b21478be4e61d53450df6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Thu, 12 May 2016 16:44:26 +0200 Subject: [PATCH] opps, forgot to clear this data (cherry-pick this) MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- .../beans/contact/PizzaContactWebSessionBean.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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 -- 2.39.5