RFR: 8222329: Readable read(CharBuffer) does not specify that 0 is returned when there is no remaining space in buffer [v6]
Brian Burkhalter
bpb at openjdk.org
Fri Jun 23 20:49:06 UTC 2023
On Fri, 23 Jun 2023 20:36:59 GMT, Roger Riggs <rriggs at openjdk.org> wrote:
>> Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:
>>
>> 8222329: Remove redundancy of length vs. remaining in CharBuffer::read doc
>
> src/java.base/share/classes/java/io/Reader.java line 194:
>
>> 192: * rewinding of the buffer is performed. If the specified character
>> 193: * buffer has no space {@linkplain java.nio.Buffer#hasRemaining
>> 194: * remaining} or or its {@linkplain java.nio.CharBuffer#length length}
>
> typo: "or or" -> "or"
Bummer. Thanks.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/14616#discussion_r1240371637
More information about the core-libs-dev
mailing list