From 8e921aee5abb20c240b45cb75b06fb1f316d8a1f Mon Sep 17 00:00:00 2001 From: Justin Lu Date: Fri, 1 Aug 2025 18:43:02 +0000 Subject: [PATCH] 8364370: java.text.DecimalFormat specification indentation correction Reviewed-by: liach, naoto --- .../share/classes/java/text/DecimalFormat.java | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/java.base/share/classes/java/text/DecimalFormat.java b/src/java.base/share/classes/java/text/DecimalFormat.java index 3aa42ed8601..185d0baad4b 100644 --- a/src/java.base/share/classes/java/text/DecimalFormat.java +++ b/src/java.base/share/classes/java/text/DecimalFormat.java @@ -114,12 +114,6 @@ import sun.util.locale.provider.ResourceBundleBasedAdapter; * pattern} or using one of the appropriate {@code DecimalFormat} setter methods, * for example, {@link #setMinimumFractionDigits(int)}. These limits have no impact * on parsing behavior. - * @implSpec - * When formatting a {@code Number} other than {@code BigInteger} and - * {@code BigDecimal}, {@code 309} is used as the upper limit for integer digits, - * and {@code 340} as the upper limit for fraction digits. This occurs, even if - * one of the {@code DecimalFormat} getter methods, for example, {@link #getMinimumFractionDigits()} - * returns a numerically greater value. * *

Special Values

* * + * @implSpec + * When formatting a {@code Number} other than {@code BigInteger} and + * {@code BigDecimal}, {@code 309} is used as the upper limit for integer digits, + * and {@code 340} as the upper limit for fraction digits. This occurs, even if + * one of the {@code DecimalFormat} getter methods, for example, {@link #getMinimumFractionDigits()} + * returns a numerically greater value. + * * @spec https://www.unicode.org/reports/tr35 * Unicode Locale Data Markup Language (LDML) * @see Java Tutorial