On Thu, 12 Aug 2021 18:55:08 GMT, Naoto Sato <na...@openjdk.org> wrote:
>> Lance Andersen has updated the pull request incrementally with one >> additional commit since the last revision: >> >> Use toList() > > test/jdk/java/nio/file/spi/SetDefaultProvider.java line 107: > >> 105: .map(path -> path.getFileName().toString()) >> 106: .filter(f -> f.startsWith("TestProvider")) >> 107: .collect(Collectors.toList()); > > Nit: Could simply issue `.toList()` here. Thank you Naoto, it is a bit cleaner so pushed the update. ------------- PR: https://git.openjdk.java.net/jdk/pull/5103