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

Lance Andersen lance.andersen at oracle.com
Wed Apr 8 17:30:50 UTC 2020


+1

> On Apr 8, 2020, at 1:29 PM, naoto.sato at oracle.com wrote:
> 
> 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

 <http://oracle.com/us/design/oracle-email-sig-198324.gif>
 <http://oracle.com/us/design/oracle-email-sig-198324.gif> <http://oracle.com/us/design/oracle-email-sig-198324.gif>
 <http://oracle.com/us/design/oracle-email-sig-198324.gif>Lance Andersen| Principal Member of Technical Staff | +1.781.442.2037
Oracle Java Engineering 
1 Network Drive 
Burlington, MA 01803
Lance.Andersen at oracle.com <mailto:Lance.Andersen at oracle.com>





More information about the i18n-dev mailing list