]> git.mxchange.org Git - jfinancials-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>
Tue, 5 Sep 2017 20:01:28 +0000 (22:01 +0200)
- renamed variable, more common accross projects

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

index 2ac0afeaca44a90342b087e5115335cf6b638cb2..e1da39c359ddc4dd1353eddd2e00221be827911f 100644 (file)
@@ -69,14 +69,14 @@ public class FinancialsMobileNumberConverter implements Converter<DialableMobile
                }
 
                // 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 FinancialsMobileNumberConverter implements Converter<DialableMobile
                }
 
                // Return it
-               return mobile;
+               return mobileNumber;
        }
 
        @Override