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 * @internal
* @deprecated This API is ICU internal only. * @deprecated This API is ICU internal only.
*/ */
@Deprecated
public static PluralRules newInternal(String description, StandardPluralRanges ranges) public static PluralRules newInternal(String description, StandardPluralRanges ranges)
throws ParseException { throws ParseException {
description = description.trim(); description = description.trim();

View File

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