]> granicus.if.org Git - icu/commitdiff
ICU-9249 deprecate PluralFormat.setLocale(locale)
authorMarkus Scherer <markus.icu@gmail.com>
Wed, 18 Apr 2012 23:59:28 +0000 (23:59 +0000)
committerMarkus Scherer <markus.icu@gmail.com>
Wed, 18 Apr 2012 23:59:28 +0000 (23:59 +0000)
X-SVN-Rev: 31743

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

index e225720f70450bc8173e1687141d74d119cb6a29..46f22ed6daa7dc4fe29eb6430f74183e6ff06294 100644 (file)
@@ -627,7 +627,9 @@ public class PluralFormat extends UFormat {
      *     formatter. If <code>ulocale</code> is <code>null</code>, the
      *     default <code>FORMAT</code> locale will be used.
      * @see Category#FORMAT
-     * @stable ICU 3.8
+     * @deprecated ICU 50 This method clears the pattern and might create
+     *             a different kind of PluralRules instance;
+     *             use one of the constructors to create a new instance instead.
      */
     public void setLocale(ULocale ulocale) {
         if (ulocale == null) {