[ 
https://issues.apache.org/jira/browse/LUCENE-8994?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Adrien Grand resolved LUCENE-8994.
----------------------------------
    Fix Version/s: 8.4
       Resolution: Fixed

Thanks [~KoenDG].

> Code Cleanup - Pass values to list constructor instead of empty constructor 
> followed by addAll().
> -------------------------------------------------------------------------------------------------
>
>                 Key: LUCENE-8994
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8994
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Koen De Groote
>            Priority: Trivial
>             Fix For: 8.4
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> Trivial ticket, if your time is precious, feel free to skip.
>  
> In case of passing a collection into another, it's more efficient to pass the 
> already existing collection into the constructor of the new one. It can 
> usually deal with it more efficiently.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to