<i18n dev> RFR: JDK-8282625 Formatter caches Locale/DecimalFormatSymbols poorly [v3]
Jim Laskey
jlaskey at openjdk.java.net
Mon Mar 7 13:20:10 UTC 2022
On Fri, 4 Mar 2022 20:04:42 GMT, Roger Riggs <rriggs at openjdk.org> wrote:
>> Jim Laskey has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Too many 'the'
>
> src/java.base/share/classes/java/util/Formatter.java line 2025:
>
>> 2023:
>> 2024: // Caching zero.
>> 2025: static char getZero(Locale locale) {
>
> Perhaps should be private.
> The comment says caching zero, but its really the DecimalFormatSymbols that are cached.
Noted.
-------------
PR: https://git.openjdk.java.net/jdk/pull/7703
More information about the i18n-dev
mailing list