]> git.mxchange.org Git - addressbook-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, 9 Sep 2017 20:19:42 +0000 (22:19 +0200)
- renamed variable, more common accross projects

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

index 67ce27bc9432d9e43f239380c5593daa855d7eec..fa26fdb439ea1f618b605f63b7b7ca145eae25a8 100644 (file)
@@ -69,14 +69,14 @@ public class AddressbookMobileNumberConverter implements Converter<DialableMobil
                }
 
                // Init instance
-               DialableMobileNumber mobile = null;
+               DialableMobileNumber mobileNumber = null;
 
                try {
                        // Try to parse the value as long
-                       final Long mobileId = Long.valueOf(submittedValue);
+                       final Long mobileNumberId = Long.valueOf(submittedValue);
 
                        // Try to get mobile instance from it
-                       mobile = PHONE_BEAN.findMobileNumberById(mobileId);
+                       mobileNumber = PHONE_BEAN.findMobileNumberById(mobileNumberId);
                } catch (final NumberFormatException ex) {
                        // Throw again
                        throw new ConverterException(ex);
@@ -86,7 +86,7 @@ public class AddressbookMobileNumberConverter implements Converter<DialableMobil
                }
 
                // Return it
-               return mobile;
+               return mobileNumber;
        }
 
        @Override