gsmiller commented on pull request #644: URL: https://github.com/apache/lucene/pull/644#issuecomment-1030444352
Thanks @msokolov. It's a little sneaky as a number of places appear to be good candidates to use the new method because they're doing a `+ 1`, but they're adding 1 to something other than the current array length in many cases. I looked at all the candidate usages and found two though that made sense to migrate to the new method. I've updated the PR. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org