On Mon, 2 May 2022 13:13:02 GMT, Weijun Wang <wei...@openjdk.org> wrote:

>> `lines.remove()` and `lines.subList()` will throw the correct exception. 
>> Since you asked, we can add it.
>
> Now that we call `subList` at the beginning, I think there's no need to 
> explicitly perform a check.

Hello Weijun, the change to this part of the code in context of index checks, 
looks fine to me now. Thank you for considering it.

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

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

Reply via email to