On Tue, 19 Sep 2023 20:55:00 GMT, Naoto Sato <na...@openjdk.org> wrote:
>> Brian Burkhalter has updated the pull request incrementally with one >> additional commit since the last revision: >> >> 8315960: Remove vestigial unused import > > test/jdk/java/io/File/TempDirDoesNotExist.java line 192: > >> 190: OutputAnalyzer originalOutput = >> ProcessTools.executeTestJvm(options); >> 191: List<String> list = >> originalOutput.asLines().stream().filter(line >> 192: -> >> line.equalsIgnoreCase(WARNING)).collect(Collectors.toList()); > > `Stream.toList()` can be applied here So changed in 50411b85aeefb2576a149ae126b7d55aad6e2be0. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/15757#discussion_r1330726850