From: Roland Häder Date: Tue, 25 Apr 2017 12:10:50 +0000 (+0200) Subject: changed cellphone -> mobile X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=7650f59ace13f6be7215dd2e087d6d0880a81617;p=addressbook-war.git changed cellphone -> mobile Signed-off-by: Roland Häder --- diff --git a/src/java/org/mxchange/addressbook/beans/contact/AddressbookAdminContactWebRequestBean.java b/src/java/org/mxchange/addressbook/beans/contact/AddressbookAdminContactWebRequestBean.java index 6495cc19..c6fa1a61 100644 --- a/src/java/org/mxchange/addressbook/beans/contact/AddressbookAdminContactWebRequestBean.java +++ b/src/java/org/mxchange/addressbook/beans/contact/AddressbookAdminContactWebRequestBean.java @@ -502,9 +502,9 @@ public class AddressbookAdminContactWebRequestBean extends BaseAddressbookContro } @Override - public String generateMobileNumber (final DialableMobileNumber cellphoneNumber) { + public String generateMobileNumber (final DialableMobileNumber mobileNumber) { // Is it null? - if (null == cellphoneNumber) { + if (null == mobileNumber) { // Return null return null; } @@ -512,9 +512,9 @@ public class AddressbookAdminContactWebRequestBean extends BaseAddressbookContro // Get all data String number = String.format( "%s%d%d", //NOI18N - cellphoneNumber.getMobileProvider().getProviderCountry().getCountryExternalDialPrefix(), - cellphoneNumber.getMobileProvider().getProviderDialPrefix(), - cellphoneNumber.getPhoneNumber() + mobileNumber.getMobileProvider().getProviderCountry().getCountryExternalDialPrefix(), + mobileNumber.getMobileProvider().getProviderDialPrefix(), + mobileNumber.getPhoneNumber() ); // Return it diff --git a/src/java/org/mxchange/addressbook/beans/contact/AddressbookAdminContactWebRequestController.java b/src/java/org/mxchange/addressbook/beans/contact/AddressbookAdminContactWebRequestController.java index 7581196e..635c5ec8 100644 --- a/src/java/org/mxchange/addressbook/beans/contact/AddressbookAdminContactWebRequestController.java +++ b/src/java/org/mxchange/addressbook/beans/contact/AddressbookAdminContactWebRequestController.java @@ -141,9 +141,9 @@ public interface AddressbookAdminContactWebRequestController extends Serializabl /** * Setter for ellphone number *

- * @param cellphoneNumber Mobile number + * @param mobileNumber Mobile number */ - void setMobileNumber (final Long cellphoneNumber); + void setMobileNumber (final Long mobileNumber); /** * City @@ -442,11 +442,11 @@ public interface AddressbookAdminContactWebRequestController extends Serializabl * Returns a text representation of given cellphone number or null if not * set. *

- * @param cellphoneNumber Mobile number + * @param mobileNumber Mobile number *

* @return Text respresentation or null */ - String generateMobileNumber (final DialableMobileNumber cellphoneNumber); + String generateMobileNumber (final DialableMobileNumber mobileNumber); /** * Checks/returns whether the gender/salutation is required for this