mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8200364: Remove unnecessary boxing via primitive wrapper valueOf(String) methods
Reviewed-by: dfuchs, alanb
This commit is contained in:
parent
826b38052c
commit
79fffd05ef
2 changed files with 2 additions and 2 deletions
|
@ -212,7 +212,7 @@ public class ChoiceFormat extends NumberFormat {
|
|||
} else if (tempBuffer.equals("-\u221E")) {
|
||||
startValue = Double.NEGATIVE_INFINITY;
|
||||
} else {
|
||||
startValue = Double.valueOf(tempBuffer);
|
||||
startValue = Double.parseDouble(tempBuffer);
|
||||
}
|
||||
|
||||
if (ch == '<' && startValue != Double.POSITIVE_INFINITY &&
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue