8357401: BigDecimal: Constants ONE_TENTH and ONE_HALF are unused after JDK-8341402

Reviewed-by: bpb, liach, darcy
This commit is contained in:
Sergey Bylokhov 2025-05-23 18:17:40 +00:00
parent 85ca0813f1
commit 236e1b6d52

View File

@ -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
/**