ICU-21480 Change ICU 64 draft readResolve APIs to @internal

See #1637
This commit is contained in:
Craig Cornelius 2021-03-10 21:05:54 +00:00
parent e43c4e5f1b
commit 3218440d5a
3 changed files with 9 additions and 3 deletions

View file

@ -377,8 +377,10 @@ public class DateIntervalFormat extends UFormat {
/**
* serialization method resolve instances to the constant
* DateIntervalFormat.SpanField values
* @draft ICU 64
* @internal
* @deprecated This API is ICU internal only.
*/
@Deprecated
@Override
protected Object readResolve() throws InvalidObjectException {
if (this.getName().equals(DATE_INTERVAL_SPAN.getName()))

View file

@ -171,8 +171,10 @@ final public class ListFormatter {
/**
* Serialization method resolve instances to the constant Field values
*
* @draft ICU 64
* @internal
* @deprecated This API is ICU internal only.
*/
@Deprecated
@Override
protected Object readResolve() throws InvalidObjectException {
if (this.getName().equals(LITERAL.getName()))

View file

@ -437,8 +437,10 @@ public final class RelativeDateTimeFormatter {
/**
* Serizalization method resolve instances to the constant Field values
*
* @draft ICU 64
* @internal
* @deprecated This API is ICU internal only.
*/
@Deprecated
@Override
protected Object readResolve() throws InvalidObjectException {
if (this.getName().equals(LITERAL.getName()))