ICU-21249 Fix API status tag issues

This commit is contained in:
Yoshito Umaoka 2020-09-29 16:14:12 -04:00
parent ecf5fab30b
commit 2abe9369a6
2 changed files with 8 additions and 5 deletions

View File

@ -403,6 +403,7 @@ public class PluralRules implements Serializable {
* @internal
* @deprecated This API is ICU internal only.
*/
@Deprecated
public static PluralRules newInternal(String description, StandardPluralRanges ranges)
throws ParseException {
description = description.trim();

View File

@ -301,17 +301,18 @@ public class MeasureUnit implements Serializable {
this.identifier = identifier;
}
/*
/**
* Returns the identifier of the prefix.
*
* @draft ICU 68
* @provisional This API might change or be removed in a future release.
* @internal
* @deprecated This API is ICU internal only.
*/
@Deprecated
public String getIdentifier() {
return identifier;
}
/*
/**
* Returns the power of 10 of the prefix. For example, if the prefix is "centi", the power will be -2.
*
* @draft ICU 68
@ -360,6 +361,7 @@ public class MeasureUnit implements Serializable {
* @param measureUnitImpl
* @deprecated Internal API for ICU use only.
*/
@Deprecated
public static MeasureUnit fromMeasureUnitImpl(MeasureUnitImpl measureUnitImpl) {
measureUnitImpl.serialize();
String identifier = measureUnitImpl.getIdentifier();
@ -567,7 +569,7 @@ public class MeasureUnit implements Serializable {
* If this is a SINGLE unit, a list of length 1 will be returned.
*
* @return An unmodifiable list of single units
* @internal ICU 68 Technology Preview
* @draft ICU 68
* @provisional This API might change or be removed in a future release.
*/
public List<MeasureUnit> splitToSingleUnits() {