mirror of
https://github.com/openjdk/jdk.git
synced 2026-03-15 18:33:41 +00:00
8357401: BigDecimal: Constants ONE_TENTH and ONE_HALF are unused after JDK-8341402
Reviewed-by: bpb, liach, darcy
This commit is contained in:
parent
85ca0813f1
commit
236e1b6d52
@ -480,16 +480,6 @@ public class BigDecimal extends Number implements Comparable<BigDecimal> {
|
||||
public static final BigDecimal TEN =
|
||||
ZERO_THROUGH_TEN[10];
|
||||
|
||||
/**
|
||||
* The value 0.1, with a scale of 1.
|
||||
*/
|
||||
private static final BigDecimal ONE_TENTH = valueOf(1L, 1);
|
||||
|
||||
/**
|
||||
* The value 0.5, with a scale of 1.
|
||||
*/
|
||||
private static final BigDecimal ONE_HALF = valueOf(5L, 1);
|
||||
|
||||
// Constructors
|
||||
|
||||
/**
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user