ICU-22220 BRS73 Fix API doc tagging problems

This commit is contained in:
Yoshito Umaoka 2023-03-22 18:38:41 -04:00
parent 68f5ef835b
commit 6ddf63ed92
2 changed files with 5 additions and 3 deletions

View file

@ -199,12 +199,13 @@ public interface PersonName {
/**
* An enum to specify the preferred field order for the name.
* @defat ICU 73
* @draft ICU 73
*/
enum PreferredOrder {
/**
* Indicates the name has no preferred field order, and that the formatter should deduce the
* proper field order based on the locales of the name and the formatter.
* @draft ICU 73
*/
DEFAULT,
@ -218,6 +219,7 @@ public interface PersonName {
/**
* Indicates that the name should be formatted in surname-first order, even when the formatter
* would normally guess that it should be formatted in given-first order.
* @draft ICU 73
*/
SURNAME_FIRST
}

View file

@ -153,7 +153,6 @@ public class SimplePersonName implements PersonName {
* else using the builder.
* @return The name's preferred field order.
* @draft ICU 73
* @return
*/
@Override
public PreferredOrder getPreferredOrder() { return preferredOrder; }
@ -211,8 +210,9 @@ public class SimplePersonName implements PersonName {
/**
* @internal Debugging only!
* @return
* @deprecated This API is ICU internal only.
*/
@Deprecated
@Override
public String toString() {
StringBuilder sb = new StringBuilder();