RFR: 8345433: (fs) Use stream to load FileTypeDetectors in Files.probeContentType [v2]
Brian Burkhalter
bpb at openjdk.org
Wed Dec 4 18:11:02 UTC 2024
> Change `FileTypeDetector` list creation to use a stream rather than an iteration and adds.
Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:
8345433: Move toList() to separate line
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/22552/files
- new: https://git.openjdk.org/jdk/pull/22552/files/984c2813..44401e78
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=22552&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=22552&range=00-01
Stats: 2 lines in 1 file changed: 1 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/22552.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/22552/head:pull/22552
PR: https://git.openjdk.org/jdk/pull/22552
More information about the nio-dev
mailing list