Description
The specification of Channels.newReader(ReadableByteChannel,Charset) states "behaves in exactly the same way as the expression
Channels.newReader(ch, Charset.forName(csName).newDecoder(), -1)"
but there is no csName parameter. This should instead be
Channels.newReader(ch, charset.newDecoder(), -1)
Channels.newReader(ch, Charset.forName(csName).newDecoder(), -1)"
but there is no csName parameter. This should instead be
Channels.newReader(ch, charset.newDecoder(), -1)