From: Roland Haeder Date: Tue, 11 Apr 2017 10:31:14 +0000 (+0200) Subject: some fixes, API has changed, no more cellphone, use mobile instead X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=19743cdfb0f420dd4b9b011070e0d87d49067f78;p=jfinancials-swing.git some fixes, API has changed, no more cellphone, use mobile instead --- 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);