RFR: JDK-8263545: Convert jpackage to use Stream.toList() [v2]

Alexander Matveev almatvee at openjdk.java.net
Mon Mar 15 22:42:10 UTC 2021


On Mon, 15 Mar 2021 18:53:26 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 incrementally with one additional commit since the last revision:
> 
>   Clarifying type argument and shorting a toArray invocation

Marked as reviewed by almatvee (Committer).

-------------

PR: https://git.openjdk.java.net/jdk/pull/2997


More information about the core-libs-dev mailing list