RFR: 8284780: Need methods to create pre-sized HashSet and LinkedHashSet [v17]
Naoto Sato
naoto at openjdk.java.net
Wed Jun 1 18:31:34 UTC 2022
On Fri, 27 May 2022 18:40:32 GMT, XenoAmess <duke at openjdk.java.net> wrote:
>> as title.
>
> XenoAmess has updated the pull request incrementally with one additional commit since the last revision:
>
> do it as naotoj said
Reviewed i18n-related changes and they look good. One minor suggestion in `Calendar`, but that can be applied later.
src/java.base/share/classes/java/util/Calendar.java line 2648:
> 2646: set.add("gregory");
> 2647: set.add("buddhist");
> 2648: set.add("japanese");
This can be replaced with `SET = Set.of("gregory", "buddhist", "japanese");`.
-------------
Marked as reviewed by naoto (Reviewer).
PR: https://git.openjdk.java.net/jdk/pull/8302
More information about the security-dev
mailing list