[ 
https://issues.apache.org/jira/browse/LUCENE-3645?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13168865#comment-13168865
 ] 

Robert Muir commented on LUCENE-3645:
-------------------------------------

{quote}
Also converted one Arrays.asList(new Integer[0]) to Collections.emptyList()
{quote}

But these are different right? specifically the first is mutable but the latter 
is immutable?
                
> Remove unnecessary array wrapping when calling varargs methods
> --------------------------------------------------------------
>
>                 Key: LUCENE-3645
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3645
>             Project: Lucene - Java
>          Issue Type: Improvement
>    Affects Versions: 3.5, 4.0
>            Reporter: Steven Rowe
>            Assignee: Steven Rowe
>            Priority: Minor
>         Attachments: LUCENE-3645-branch_3x.patch, LUCENE-3645-trunk.patch
>
>
> varargs method callers don't have to wrap args in arrays

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Reply via email to