[
https://issues.apache.org/jira/browse/SOLR-14343?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17061377#comment-17061377
]
Munendra S N commented on SOLR-14343:
-------------------------------------
[^SOLR-14343.patch]
Patch with the fix
> Properly set initCapacity in NamedList
> --------------------------------------
>
> Key: SOLR-14343
> URL: https://issues.apache.org/jira/browse/SOLR-14343
> Project: Solr
> Issue Type: Task
> Security Level: Public(Default Security Level. Issues are Public)
> Reporter: Munendra S N
> Assignee: Munendra S N
> Priority: Minor
> Attachments: SOLR-14343.patch
>
>
> In {{NamedList(Map)}}, list is initialised to map.size() instead of 2 times
> the size. There are other few instances where initial capacity can be
> correctly set.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]