]> git.mxchange.org Git - pizzaservice-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:20:26 +0000 (19:20 +0200)
src/org/mxchange/pizzaaplication/database/BasePizzaDatabaseBean.java

index 54051f1725819871a9bd8514e1ed2464ba3b8729..7d0dd7c7031bc0cabb859e64fba057570e1c95ec 100644 (file)
@@ -125,10 +125,10 @@ public abstract class BasePizzaDatabaseBean 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 BasePizzaDatabaseBean 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