On Nov 20, 2017, at 6:32 PM, Paul Sandoz <paul.san...@oracle.com> wrote:

> See also Objects.checkFromIndexSize if you wanna use that instead.
> 
> Also the if len == 0 check is probably redundant, i doubt it makes any 
> difference given the condition needs to be checked before entering the loop.

Both good points. Updated accordingly: 
http://cr.openjdk.java.net/~bpb/8191516/webrev.01/.

Thanks,

Brian

Reply via email to