From 19743cdfb0f420dd4b9b011070e0d87d49067f78 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Tue, 11 Apr 2017 12:31:14 +0200 Subject: [PATCH] some fixes, API has changed, no more cellphone, use mobile instead --- .../mxchange/addressbook/client/console/ConsoleClient.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/org/mxchange/addressbook/client/console/ConsoleClient.java b/src/org/mxchange/addressbook/client/console/ConsoleClient.java index 313aea9..6bccf45 100644 --- a/src/org/mxchange/addressbook/client/console/ConsoleClient.java +++ b/src/org/mxchange/addressbook/client/console/ConsoleClient.java @@ -124,7 +124,7 @@ public class ConsoleClient extends BaseAddressbookClient implements AddressbookC throw new NullPointerException("contact is null"); //NOI18N } - // Cellphone and such ... + // Mobile and such ... this.outputMessage(MessageFormat.format("Telefonnumer: {0}\nFaxnummer: {1}\nHandy: {2}\nKommentar:\n{3}", contact.getContactLandLineNumber(), contact.getContactFaxNumber(), contact.getContactMobileNumber(), contact.getContactComment())); // Trace message @@ -235,7 +235,7 @@ public class ConsoleClient extends BaseAddressbookClient implements AddressbookC DialableLandLineNumber phoneNumber = manager.enterOwnPhoneNumber(); // Phone number - DialableMobileNumber cellphonePhoneNumber = manager.enterOwnCellNumber(); + DialableMobileNumber mobileNumber = manager.enterOwnCellNumber(); // Fax number DialableFaxNumber faxNumber = manager.enterOwnFaxNumber(); @@ -248,7 +248,7 @@ public class ConsoleClient extends BaseAddressbookClient implements AddressbookC // Update contact instance contact.setContactLandLineNumber(phoneNumber); - contact.setContactCellphoneNumber(cellphonePhoneNumber); + contact.setContactMobileNumber(mobileNumber); contact.setContactFaxNumber(faxNumber); contact.setContactEmailAddress(email); contact.setContactComment(comment); -- 2.39.5