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;
// 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);