RFR: 8302979: (fs) Files usage of SUPPORTED_CHARSETS could be simplified [v2]
Julian Waters
jwaters at openjdk.org
Wed Feb 22 07:43:46 UTC 2023
On Wed, 22 Feb 2023 07:38:05 GMT, Sergey Tsypanov <stsypanov 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`
>
> Sergey Tsypanov has updated the pull request incrementally with one additional commit since the last revision:
>
> Fix indentation
Alright, thanks for the fixes :)
-------------
PR: https://git.openjdk.org/jdk/pull/12688
More information about the nio-dev
mailing list