On Wed, 7 Apr 2021 18:01:25 GMT, Conor Cleary <ccle...@openjdk.org> wrote:

>> src/java.base/share/classes/java/nio/charset/MalformedInputException.java 
>> line 45:
>> 
>>> 43: 
>>> 44:     /**
>>> 45:      * The length of the input byte sequence.
>> 
>> Should this comment also refer to the character sequence?
>
> It could, maybe something like "The length of the input byte (or character) 
> sequence." would work?

or just "The length of the input" so that it is consistent with the description 
of the getInputLength method.

-------------

PR: https://git.openjdk.java.net/jdk/pull/3376

Reply via email to