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

David Smiley commented on SOLR-18139:
-------------------------------------

Lets increase the scope to emptyMap and emptySet.  Those 2 have concise 
alternatives – {{Map.of()}} and {{Set.of()}}
There are some other more exotic "empty" static method variants in Collections, 
but, AFAICT, none with concise alternatives.

> Use List.of instead of Collections.emptyList()
> ----------------------------------------------
>
>                 Key: SOLR-18139
>                 URL: https://issues.apache.org/jira/browse/SOLR-18139
>             Project: Solr
>          Issue Type: Wish
>            Reporter: Eric Pugh
>            Priority: Minor
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> [~dsmiley] has frequently mentioned this in PR review, lets get it sorted...



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to