]> git.mxchange.org Git - jfinancials-lib.git/blobdiff - src/org/mxchange/addressbook/manager/contact/AddressbookContactManager.java
Continued rewriting:
[jfinancials-lib.git] / src / org / mxchange / addressbook / manager / contact / AddressbookContactManager.java
index 9b0a0b33d45f358615c38e3d031ec4fb1ebcc4e5..7670cecf009c97bf80b5bb8fb6986e96e15cdf0b 100644 (file)
@@ -26,11 +26,11 @@ import java.util.Iterator;
 import java.util.List;
 import org.mxchange.addressbook.client.AddressbookClient;
 import org.mxchange.addressbook.exceptions.ContactAlreadyAddedException;
+import org.mxchange.jcontacts.contact.Contact;
+import org.mxchange.jcontacts.contact.gender.Gender;
 import org.mxchange.jcore.client.Client;
 import org.mxchange.jcore.exceptions.UnhandledUserChoiceException;
 import org.mxchange.jcore.manager.BaseManager;
-import org.mxchange.jcore.model.contact.Contact;
-import org.mxchange.jcore.model.contact.gender.Gender;
 import org.mxchange.jcoreeelogger.beans.local.logger.Log;
 import org.mxchange.jcoreeelogger.beans.local.logger.LoggerBeanLocal;
 
@@ -238,12 +238,12 @@ public class AddressbookContactManager extends BaseManager implements Manageable
                // It must be found
                assert (contact instanceof Contact) : ": contact is not implementing Contact: " + contact;
 
-               // Display contact
-               this.getClient().show(contact);
-
                // Get and cast client instance
                AddressbookClient client = (AddressbookClient) this.getClient();
 
+               // Display contact
+               client.show(contact);
+
                try {
                        // Ask user what to change
                        client.userChooseChangeContactData(contact);