Integrated: JDK-8263545: Convert jpackage to use Stream.toList()
Ian Graves
igraves at openjdk.java.net
Fri Mar 19 19:54:40 UTC 2021
On Sun, 14 Mar 2021 18:22:50 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.
This pull request has now been integrated.
Changeset: 0b5216a9
Author: Ian Graves <igraves at openjdk.org>
Committer: Alexey Semenyuk <asemenyuk at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/0b5216a9
Stats: 47 lines in 17 files changed: 1 ins; 3 del; 43 mod
8263545: Convert jpackage to use Stream.toList()
Reviewed-by: asemenyuk, almatvee
-------------
PR: https://git.openjdk.java.net/jdk/pull/2997
More information about the core-libs-dev
mailing list