Michael Braun created LUCENE-7691:
-------------------------------------

             Summary: ArrayLists should be created with explicit size if known
                 Key: LUCENE-7691
                 URL: https://issues.apache.org/jira/browse/LUCENE-7691
             Project: Lucene - Core
          Issue Type: Bug
            Reporter: Michael Braun
            Priority: Trivial


Many places in Lucene there are ArrayLists being created with no explicit size 
set even when the exact size is known in advance. In these places, the size 
should be passed in so the underlying array is sized correctly the first time.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to