]> git.mxchange.org Git - jfinancials-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>
Fri, 13 May 2016 20:23:04 +0000 (22:23 +0200)
Signed-off-by: Roland Häder <roland@mxchange.org>
src/java/org/mxchange/addressbook/beans/contact/AddressbookContactWebSessionBean.java

index ecf7bb51f8167120340a8dbe0ede4f7cdc35dfd9..394d876e3cbe1c640925ba56b8f91328fce59f35 100644 (file)
@@ -428,7 +428,6 @@ public class AddressbookContactWebSessionBean implements AddressbookContactWebSe
 
                // 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
@@ -488,7 +487,6 @@ public class AddressbookContactWebSessionBean implements AddressbookContactWebSe
 
                // Trace message
                //* NOISY-DEBUG: */ System.out.println(MessageFormat.format("{0}.createContactInstance: contact={1} - EXIT!", this.getClass().getSimpleName(), contact));
-
                // Return it
                return localContact;
        }
@@ -894,8 +892,13 @@ public class AddressbookContactWebSessionBean implements AddressbookContactWebSe
                this.setEmailAddress(null);
                this.setEmailAddressRepeat(null);
                this.setPhoneAreaCode(null);
+               this.setPhoneCountry(null);
+               this.setPhoneNumber(null);
                this.setCellphoneCarrier(null);
+               this.setCellphoneNumber(null);
                this.setFaxAreaCode(null);
+               this.setFaxCountry(null);
+               this.setFaxNumber(null);
 
                // - other data
                this.setBirthday(null);