<i18n dev> [15] RFR (XXS): 8242337: javadoc typo in NumberFormat::setMinimumFractionDigits

naoto.sato at oracle.com naoto.sato at oracle.com
Wed Apr 8 17:29:16 UTC 2020


Hello,

Please review the fix to the following issue:

https://bugs.openjdk.java.net/browse/JDK-8242337

Here is the proposed diff:

---
diff -r 706df347bcc2 src/java.base/share/classes/java/text/NumberFormat.java
--- a/src/java.base/share/classes/java/text/NumberFormat.java
+++ b/src/java.base/share/classes/java/text/NumberFormat.java
@@ -865,7 +865,7 @@
       * Sets the minimum number of digits allowed in the fraction 
portion of a
       * number. minimumFractionDigits must be ≤ 
maximumFractionDigits.  If the
       * new value for minimumFractionDigits exceeds the current value
-     * of maximumFractionDigits, then maximumIntegerDigits will also be 
set to
+     * of maximumFractionDigits, then maximumFractionDigits will also 
be set to
       * the new value
       *
       * @param newValue the minimum number of fraction digits to be 
shown; if
---

It is simply fixing a typo (possibly a copy/paste mistake). Thanks to 
Martin for finding this.

Naoto


More information about the i18n-dev mailing list