ICU-9249 deprecate PluralFormat.setLocale(locale)

X-SVN-Rev: 31743
This commit is contained in:
Markus Scherer 2012-04-18 23:59:28 +00:00
parent 1d98ac0736
commit 30b430f929

View 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) {