<i18n dev> RFR: 8316557: Make fields final in 'sun.util' package [v2]
Per Minborg
pminborg at openjdk.org
Fri Nov 17 08:15:38 UTC 2023
On Thu, 16 Nov 2023 17:08:58 GMT, Naoto Sato <naoto at openjdk.org> wrote:
>> Andrey Turbanov has updated the pull request incrementally with one additional commit since the last revision:
>>
>> 8316557: Make fields final in 'sun.util' package
>>
>> rename 'firstDay' to 'firstDays' to match 'minDays' naming
>
> src/java.base/share/classes/sun/util/cldr/CLDRCalendarDataProviderImpl.java line 48:
>
>> 46: public class CLDRCalendarDataProviderImpl extends CalendarDataProviderImpl {
>> 47:
>> 48: private static final Map<String, Integer> firstDays = new ConcurrentHashMap<>();
>
> I don't think this is correct. "First Day" is the first day of the week and should not be plural.
The map contains several entries so I think the plural form is appropriate here.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/15736#discussion_r1396844057
More information about the i18n-dev
mailing list