]> granicus.if.org Git - icu/commitdiff
ICU-20007 Remove incorrect ICU4J doc of DecimalFormat.setGroupingUsed
authorVictor Chang <vichang@google.com>
Tue, 7 Aug 2018 16:03:25 +0000 (17:03 +0100)
committerShane Carr <shane@unicode.org>
Thu, 27 Sep 2018 21:27:38 +0000 (14:27 -0700)
DecimalFormat.setGroupingUsed(true) no longer sets the grouping size to 3.
The java doc should be removed.

icu4j/main/classes/core/src/com/ibm/icu/text/DecimalFormat.java

index f23154074cc1ee48eb8d1fd94f49332f19862d37..1185b5ba12648ea1226471aed01702050e1a65cd 100644 (file)
@@ -1857,9 +1857,6 @@ public class DecimalFormat extends NumberFormat {
    * <p>For example, if grouping is enabled, 12345 will be printed as "12,345" in <em>en-US</em>. If
    * grouping were disabled, it would instead be printed as simply "12345".
    *
-   * <p>Calling <code>df.setGroupingUsed(true)</code> is functionally equivalent to setting grouping
-   * size to 3, as in <code>df.setGroupingSize(3)</code>.
-   *
    * @param enabled true to enable grouping separators; false to disable them.
    * @see #setGroupingSize
    * @see #setSecondaryGroupingSize