From 30b430f9298a0cede50c324be2cddf963efa3380 Mon Sep 17 00:00:00 2001 From: Markus Scherer Date: Wed, 18 Apr 2012 23:59:28 +0000 Subject: [PATCH] ICU-9249 deprecate PluralFormat.setLocale(locale) X-SVN-Rev: 31743 --- .../main/classes/core/src/com/ibm/icu/text/PluralFormat.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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) { -- 2.40.0