]> git.mxchange.org Git - jjobs-war.git/commitdiff
garr, again localContact was returned empty because of confusion ... :-( Please cherr...
authorRoland Häder <roland@mxchange.org>
Thu, 12 May 2016 13:06:47 +0000 (15:06 +0200)
committerRoland Haeder <roland@mxchange.org>
Sat, 14 May 2016 12:53:37 +0000 (14:53 +0200)
Signed-off-by: Roland Häder <roland@mxchange.org>
src/java/org/mxchange/jjobs/beans/contact/JobsContactWebSessionBean.java

index 4da9bac25da2f8a16da3451d98d39c6cc1568040..416afd4036929711f099a79db5424d22da1396c1 100644 (file)
@@ -16,6 +16,7 @@
  */
 package org.mxchange.jjobs.beans.contact;
 
+import de.chotime.landingpage.beans.login.LandingUserLoginWebSessionController;
 import java.text.MessageFormat;
 import java.util.Collections;
 import java.util.Date;
@@ -385,7 +386,7 @@ public class JobsContactWebSessionBean implements JobsContactWebSessionControlle
        @Override
        public List<Contact> allContacts () {
                // Debug message
-               /* NOISY-DEBUG: */ System.out.println(MessageFormat.format("ContactController.allContacts: contactList.size()={0} - EXIT!", this.contactList.size()));
+               //* NOISY-DEBUG: */ System.out.println(MessageFormat.format("ContactController.allContacts: contactList.size()={0} - EXIT!", this.contactList.size()));
 
                // Return un-modified list
                return Collections.unmodifiableList(this.contactList);
@@ -426,6 +427,7 @@ public class JobsContactWebSessionBean implements JobsContactWebSessionControlle
 
                // 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