]> git.mxchange.org Git - pizzaservice-ejb.git/commitdiff
Please cherry-pick:
authorRoland Häder <roland@mxchange.org>
Mon, 22 Aug 2016 10:57:16 +0000 (12:57 +0200)
committerRoland Haeder <roland@mxchange.org>
Wed, 24 Aug 2016 19:22:17 +0000 (21:22 +0200)
- renamed cellphone -> mobile

src/java/org/mxchange/jphone/phonenumbers/phone/PizzaAdminPhoneSessionBean.java

index b15244ef1049da770526cb28cc08c47b1f47339d..ef9b8e9bef82269ea403c4a8b03289d9394d2727 100644 (file)
@@ -80,7 +80,7 @@ public class PizzaAdminPhoneSessionBean extends BasePizzaDatabaseBean implements
        @Override
        public DialableMobileNumber updateMobileData (final DialableMobileNumber mobileNumber) {
                // Trace message
-               this.getLoggerBeanLocal().logTrace(MessageFormat.format("{0}.updateCellphoneData: mobileNumber={1} - CALLED!", this.getClass().getSimpleName(), mobileNumber));
+               this.getLoggerBeanLocal().logTrace(MessageFormat.format("{0}.updateMobileData: mobileNumber={1} - CALLED!", this.getClass().getSimpleName(), mobileNumber));
 
                // Is all data set
                if (null == mobileNumber) {
@@ -119,13 +119,13 @@ public class PizzaAdminPhoneSessionBean extends BasePizzaDatabaseBean implements
                assert (foundNumber instanceof DialableMobileNumber) : MessageFormat.format("Cell phone number with id {0} not found, but should be.", mobileNumber.getPhoneId()); //NOI18N
 
                // Debug message
-               this.getLoggerBeanLocal().logDebug(MessageFormat.format("updateCellphoneData: foundNumber.phoneId={0}", foundNumber.getPhoneId())); //NOI18N
+               this.getLoggerBeanLocal().logDebug(MessageFormat.format("updateMobileData: foundNumber.phoneId={0}", foundNumber.getPhoneId())); //NOI18N
 
                // Merge contact instance
                DialableMobileNumber detachedNumber = this.getEntityManager().merge(foundNumber);
 
                // Trace message
-               this.getLoggerBeanLocal().logTrace(MessageFormat.format("{0}.updateCellphoneData: detachedNumber={1} - EXIT!", this.getClass().getSimpleName(), detachedNumber)); //NOI18N
+               this.getLoggerBeanLocal().logTrace(MessageFormat.format("{0}.updateMobileData: detachedNumber={1} - EXIT!", this.getClass().getSimpleName(), detachedNumber)); //NOI18N
 
                // Return it
                return detachedNumber;