Skip to content

Commit b5bec8d

Browse files
author
Justin Lu
committed
8364370: java.text.DecimalFormat specification indentation correction
Reviewed-by: liach, naoto Backport-of: 8e921aee5abb20c240b45cb75b06fb1f316d8a1f
1 parent 9bdf9eb commit b5bec8d

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

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

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -114,12 +114,6 @@
114114
* pattern} or using one of the appropriate {@code DecimalFormat} setter methods,
115115
* for example, {@link #setMinimumFractionDigits(int)}. These limits have no impact
116116
* on parsing behavior.
117-
* @implSpec
118-
* When formatting a {@code Number} other than {@code BigInteger} and
119-
* {@code BigDecimal}, {@code 309} is used as the upper limit for integer digits,
120-
* and {@code 340} as the upper limit for fraction digits. This occurs, even if
121-
* one of the {@code DecimalFormat} getter methods, for example, {@link #getMinimumFractionDigits()}
122-
* returns a numerically greater value.
123117
*
124118
* <h3>Special Values</h3>
125119
* <ul>
@@ -417,6 +411,13 @@
417411
* <li>Exponential patterns may not contain grouping separators.
418412
* </ul>
419413
*
414+
* @implSpec
415+
* When formatting a {@code Number} other than {@code BigInteger} and
416+
* {@code BigDecimal}, {@code 309} is used as the upper limit for integer digits,
417+
* and {@code 340} as the upper limit for fraction digits. This occurs, even if
418+
* one of the {@code DecimalFormat} getter methods, for example, {@link #getMinimumFractionDigits()}
419+
* returns a numerically greater value.
420+
*
420421
* @spec https://www.unicode.org/reports/tr35
421422
* Unicode Locale Data Markup Language (LDML)
422423
* @see <a href="http://docs.oracle.com/javase/tutorial/i18n/format/decimalFormat.html">Java Tutorial</a>

0 commit comments

Comments
 (0)