<i18n dev> RFR: 8303275: Use {@Return and @linkplain in Locale and related classes

Naoto Sato naoto at openjdk.org
Thu Mar 2 16:47:08 UTC 2023


On Tue, 28 Feb 2023 00:09:45 GMT, Justin Lu <jlu at openjdk.org> wrote:

> This PR modifies the javadoc of methods in Locale, LocaleServiceProvider, and LocaleServiceProviderPool to use {@return and @linkplain.

src/java.base/share/classes/java/util/Locale.java line 2075:

> 2073:      * user. This will be the values returned by getDisplayLanguage(),
> 2074:      * getDisplayScript(), getDisplayCountry(), getDisplayVariant() and
> 2075:      * optional {@linkplain Locale##def_locale_extension Unicode extensions}

Can `Locale` be removed? It seems redundant. There are other locations with the same situation in this class.

-------------

PR: https://git.openjdk.org/jdk/pull/12780


More information about the i18n-dev mailing list