]> git.mxchange.org Git - pizzaservice-war.git/commitdiff
Please cherry-pick:
authorRoland Häder <roland@mxchange.org>
Tue, 5 Sep 2017 19:57:09 +0000 (21:57 +0200)
committerRoland Häder <roland@mxchange.org>
Sat, 16 Sep 2017 14:19:13 +0000 (16:19 +0200)
- renamed variable, more common accross projects

Signed-off-by: Roland Häder <roland@mxchange.org>
src/java/org/mxchange/pizzaapplication/converter/mobile/PizzaMobileNumberConverter.java

index 4bd9fd53e65f9ad35f5603a9c5792f3ab4bfe89f..3c032ed6321fda8a8b0840b147782571f67e5b2d 100644 (file)
@@ -73,13 +73,13 @@ public class PizzaMobileNumberConverter implements Converter<DialableMobileNumbe
 
                try {
                        // Try to parse the value as long
-                       final Long mobileId = Long.valueOf(submittedValue);
+                       final Long mobileNumberId = Long.valueOf(submittedValue);
 
                        // Debug message
                        // NOISY-DEBUG: this.loggerBeanLocal.logDebug(MessageFormat.format("getAsObject: userId{0}", userId)); //NOI18N
 
                        // Try to get mobile instance from it
-                       mobileNumber = PHONE_BEAN.findMobileNumberById(mobileId);
+                       mobileNumber = PHONE_BEAN.findMobileNumberById(mobileNumberId);
                } catch (final NumberFormatException ex) {
                        // Throw again
                        throw new ConverterException(ex);