commit | 3218440d5a5e4e927555f550f753205eef7f7660 | [log] [tgz] |
---|---|---|
author | Craig Cornelius <cwcornelius@gmail.com> | Wed Mar 10 21:05:54 2021 +0000 |
committer | Craig Cornelius <cwcornelius@gmail.com> | Wed Mar 10 20:23:23 2021 -0800 |
tree | 945ccdcde8638b60b4d73fad9a8a7b0acec2c097 | |
parent | e43c4e5f1b0d7a1f362adac7a2a653aff48ead66 [diff] |
ICU-21480 Change ICU 64 draft readResolve APIs to @internal See #1637
diff --git a/icu4j/main/classes/core/src/com/ibm/icu/text/DateIntervalFormat.java b/icu4j/main/classes/core/src/com/ibm/icu/text/DateIntervalFormat.java index f417921..661fc79 100644 --- a/icu4j/main/classes/core/src/com/ibm/icu/text/DateIntervalFormat.java +++ b/icu4j/main/classes/core/src/com/ibm/icu/text/DateIntervalFormat.java
@@ -377,8 +377,10 @@ /** * 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()))
diff --git a/icu4j/main/classes/core/src/com/ibm/icu/text/ListFormatter.java b/icu4j/main/classes/core/src/com/ibm/icu/text/ListFormatter.java index fee273c..6dfe743 100644 --- a/icu4j/main/classes/core/src/com/ibm/icu/text/ListFormatter.java +++ b/icu4j/main/classes/core/src/com/ibm/icu/text/ListFormatter.java
@@ -171,8 +171,10 @@ /** * 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()))
diff --git a/icu4j/main/classes/core/src/com/ibm/icu/text/RelativeDateTimeFormatter.java b/icu4j/main/classes/core/src/com/ibm/icu/text/RelativeDateTimeFormatter.java index 2a8b831..88ce0a4 100644 --- a/icu4j/main/classes/core/src/com/ibm/icu/text/RelativeDateTimeFormatter.java +++ b/icu4j/main/classes/core/src/com/ibm/icu/text/RelativeDateTimeFormatter.java
@@ -437,8 +437,10 @@ /** * 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()))