RFR: JDK-8263545: Convert jpackage to use Stream.toList() [v3]
Alexey Semenyuk
asemenyuk at openjdk.java.net
Fri Mar 19 01:20:39 UTC 2021
On Tue, 16 Mar 2021 04:55:23 GMT, Ian Graves <igraves at openjdk.org> wrote:
>> This converts jpackage to use `Stream.toList()` instead of `Stream.collect(Collectors.toList())`. One piece of code was modified to not mutate a list in addition to one test that used a mutating sort on a list. The rest of the changes are simple substitutions.
>
> Ian Graves has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains two commits:
>
> - Clarifying type argument and shorting a toArray invocation
> - Converting jpackage to use Stream.toList()
Marked as reviewed by asemenyuk (Reviewer).
-------------
PR: https://git.openjdk.java.net/jdk/pull/2997
More information about the core-libs-dev
mailing list