RFR: 8302979: (fs) Files usage of SUPPORTED_CHARSETS could be simplified
Sergey Tsypanov
stsypanov at openjdk.org
Tue Feb 21 16:08:27 UTC 2023
On Tue, 21 Feb 2023 15:57:33 GMT, Alan Bateman <alanb at openjdk.org> wrote:
>> Code of `Files.lines()` could be slightly simplified:
>>
>> - use charsets instead of their names
>> - use `Set.of()` instead of `HashSet` in `FileChannelLinesSpliterator`
>
> @stsypanov Can you fix the description to match the JBS issue?
@AlanBateman done!
-------------
PR: https://git.openjdk.org/jdk/pull/12688
More information about the nio-dev
mailing list