From: Markus Scherer Date: Wed, 18 Apr 2012 23:59:28 +0000 (+0000) Subject: ICU-9249 deprecate PluralFormat.setLocale(locale) X-Git-Tag: milestone-59-0-1~3853 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=30b430f9298a0cede50c324be2cddf963efa3380;p=icu ICU-9249 deprecate PluralFormat.setLocale(locale) X-SVN-Rev: 31743 --- diff --git a/icu4j/main/classes/core/src/com/ibm/icu/text/PluralFormat.java b/icu4j/main/classes/core/src/com/ibm/icu/text/PluralFormat.java index e225720f704..46f22ed6daa 100644 --- a/icu4j/main/classes/core/src/com/ibm/icu/text/PluralFormat.java +++ b/icu4j/main/classes/core/src/com/ibm/icu/text/PluralFormat.java @@ -627,7 +627,9 @@ public class PluralFormat extends UFormat { * formatter. If ulocale is null, the * default FORMAT 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) {