You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by GitBox <gi...@apache.org> on 2022/02/04 23:56:36 UTC

[GitHub] [lucene] gsmiller commented on pull request #644: LUCENE-10403: Add ArrayUtil#grow(T[])

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-unsubscribe@lucene.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org