<i18n dev> RFR: JDK-8282625 Formatter caches Locale/DecimalFormatSymbols poorly [v10]

Jaikiran Pai jpai at openjdk.java.net
Fri Mar 11 10:34:51 UTC 2022


On Fri, 11 Mar 2022 10:16:33 GMT, Jim Laskey <jlaskey at openjdk.org> wrote:

>> src/java.base/share/classes/java/text/DecimalFormatSymbols.java line 192:
>> 
>>> 190: 
>>> 191:     /**
>>> 192:      * {@return locale used to create this instance}
>> 
>> Hello Jim, the opening and closing `{`, I think aren't needed for a `@return`
>
> This is actually a feature of JavaDoc. Accessor methods that require little description (self evident) can use {@return ...} to define the description and return in one go.

Didn't know that, thank you for clarifying.

The rest of the changes look good to me.

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

PR: https://git.openjdk.java.net/jdk/pull/7703


More information about the i18n-dev mailing list