[
https://issues.apache.org/jira/browse/SOLR-7017?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14287667#comment-14287667
]
David Smiley commented on SOLR-7017:
------------------------------------
If I was suggesting the reverse, making a method return null when it didn't
before, I would whole-heartedly agree. Nevertheless... fine; 6.0 it is.
> SolrParams.getParams should return 0-length array instead of null
> -----------------------------------------------------------------
>
> Key: SOLR-7017
> URL: https://issues.apache.org/jira/browse/SOLR-7017
> Project: Solr
> Issue Type: Improvement
> Reporter: David Smiley
> Priority: Minor
>
> It's a PITA to have code all over Solr littered with null checks for the
> response of SolrParams.getParams(String param). Can't we just have it return
> a constant 0-length String array?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]