]> git.mxchange.org Git - pizzaservice-war.git/commitdiff
opps, forgot to clear this data (cherry-pick this)
authorRoland Häder <roland@mxchange.org>
Thu, 12 May 2016 14:44:26 +0000 (16:44 +0200)
committerRoland Haeder <roland@mxchange.org>
Thu, 12 May 2016 19:52:33 +0000 (21:52 +0200)
Signed-off-by: Roland Häder <roland@mxchange.org>
src/java/org/mxchange/pizzaapplication/beans/contact/PizzaContactWebSessionBean.java

index 8db16164e362a1a5653593c4a8d692a091befc57..8cab96eabbc533d8e0bfd84898876f7835363232 100644 (file)
@@ -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