mirror of https://github.com/rusefi/RomRaider.git
Correction to static field name
This commit is contained in:
parent
695a7473d1
commit
30efb4e880
|
@ -27,7 +27,7 @@ import java.util.Locale;
|
||||||
* This class provides Number conversion utilities based on the default Locale.
|
* This class provides Number conversion utilities based on the default Locale.
|
||||||
*/
|
*/
|
||||||
public final class NumberUtil {
|
public final class NumberUtil {
|
||||||
private static final NumberFormat numFormat = NumberFormat.getInstance(Locale.getDefault());
|
private static final NumberFormat NUM_FORMATTER = NumberFormat.getInstance(Locale.getDefault());
|
||||||
|
|
||||||
private NumberUtil() {
|
private NumberUtil() {
|
||||||
}
|
}
|
||||||
|
@ -40,6 +40,6 @@ public final class NumberUtil {
|
||||||
* @exception ParseException is thrown when parse errors are encountered.
|
* @exception ParseException is thrown when parse errors are encountered.
|
||||||
*/
|
*/
|
||||||
public static double doubleValue(String str) throws ParseException {
|
public static double doubleValue(String str) throws ParseException {
|
||||||
return numFormat.parse(str).doubleValue();
|
return NUM_FORMATTER.parse(str).doubleValue();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue