<i18n dev> RFR: 8282319: java.util.Locale method to stream available Locales [v3]
Lance Andersen
lancea at openjdk.org
Fri Feb 24 19:01:15 UTC 2023
On Fri, 24 Feb 2023 18:39:55 GMT, Justin Lu <jlu at openjdk.org> wrote:
>> src/java.base/share/classes/sun/util/locale/provider/LocaleServiceProviderPool.java line 155:
>>
>>> 153: * that are provided by each provider, including the JRE.
>>> 154: *
>>> 155: * @return a stream of the available locales for all provider classes
>>
>> Seems weird to have the @return where you moved it to
>
> From what I saw in other methods, `@return ...` goes on the bottom (like the line I removed), but the javadoc 16 tag `{@return ... }` goes on the top.
OK but then we should be consistent and update all of the methods to use the new tag or revert the change for consistency
-------------
PR: https://git.openjdk.org/jdk/pull/12269
More information about the i18n-dev
mailing list