< prev index next >

src/java.base/share/classes/java/text/ChoiceFormat.java

Print this page
rev 14117 : 8145468: update java.lang APIs with new deprecations
Reviewed-by: XXX

*** 435,445 **** } status.index = furthest; if (status.index == start) { status.errorIndex = furthest; } ! return new Double(bestNumber); } /** * Finds the least double greater than {@code d}. * If {@code NaN}, returns same value. --- 435,445 ---- } status.index = furthest; if (status.index == start) { status.errorIndex = furthest; } ! return Double.valueOf(bestNumber); } /** * Finds the least double greater than {@code d}. * If {@code NaN}, returns same value.
< prev index next >