RFR: 8368178: Add specialization of SequencedCollection methods to emptyList, singletonList and nCopies [v2]
Tagir F. Valeev
tvaleev at openjdk.org
Tue Sep 23 07:25:07 UTC 2025
On Mon, 22 Sep 2025 15:43:31 GMT, Roger Riggs <rriggs at openjdk.org> wrote:
>> Tagir F. Valeev has updated the pull request incrementally with two additional commits since the last revision:
>>
>> - Remove extra asterisk to prevent jtreg comment from being parsed as javadoc
>> - JDK-8368178 Add specialization of SequencedCollection methods to emptyList, singletonList and nCopies
>
> src/java.base/share/classes/java/util/Collections.java line 4948:
>
>> 4946: @Override
>> 4947: public List<E> reversed() {
>> 4948: return this;
>
> Java indentation is 4 spaces. tnx.
@RogerRiggs argh, shame on me :( I should finally set up my IDE properly. Fixed, thank you.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/27406#discussion_r2371403200
More information about the core-libs-dev
mailing list