]> git.mxchange.org Git - jfinancials-core.git/commitdiff
also renamed this (please cherry-pick)
authorRoland Häder <roland@mxchange.org>
Tue, 16 Aug 2016 10:18:30 +0000 (12:18 +0200)
committerRoland Haeder <roland@mxchange.org>
Tue, 16 Aug 2016 17:28:19 +0000 (19:28 +0200)
src/org/mxchange/addressbook/database/BaseAddressbookDatabaseBean.java

index d699c018a83fad25933029b8be1681cf3fc8dd00..95db9058189b61833e94c40fe32b40885acb334f 100644 (file)
@@ -125,10 +125,10 @@ public abstract class BaseAddressbookDatabaseBean extends BaseDatabaseBean {
                // Get all phone instances
                DialableLandLineNumber landLineNumber = contact.getContactLandLineNumber();
                DialableFaxNumber faxNumber = contact.getContactFaxNumber();
-               DialableMobileNumber cellphoneNumber = contact.getContactMobileNumber();
+               DialableMobileNumber mobileNumber = contact.getContactMobileNumber();
 
                // Debug message
-               this.getLoggerBeanLocal().logDebug(MessageFormat.format("setAllContactPhoneEntriesCreated: landLineNumber={0},faxNumber={1},cellphoneNumber={2}", landLineNumber, faxNumber, cellphoneNumber)); //NOI18N
+               this.getLoggerBeanLocal().logDebug(MessageFormat.format("setAllContactPhoneEntriesCreated: landLineNumber={0},faxNumber={1},cellphoneNumber={2}", landLineNumber, faxNumber, mobileNumber)); //NOI18N
 
                // Is a phone number instance set?
                if ((landLineNumber instanceof DialableLandLineNumber) && (landLineNumber.getPhoneId() == null)) {
@@ -149,12 +149,12 @@ public abstract class BaseAddressbookDatabaseBean extends BaseDatabaseBean {
                }
 
                // Is a mobile number instance set?
-               if ((cellphoneNumber instanceof DialableMobileNumber) && (cellphoneNumber.getPhoneId() == null)) {
+               if ((mobileNumber instanceof DialableMobileNumber) && (mobileNumber.getPhoneId() == null)) {
                        // Debug message
                        this.getLoggerBeanLocal().logDebug("setAllContactPhoneEntriesCreated: Setting created timestamp for cellphone number ..."); //NOI18N
 
                        // Set updated timestamp
-                       cellphoneNumber.setPhoneEntryCreated(new GregorianCalendar());
+                       mobileNumber.setPhoneEntryCreated(new GregorianCalendar());
                }
 
                // Trace message