lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik Hatcher (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-7017) SolrParams.getParams should return 0-length array instead of null
Date Fri, 13 Feb 2015 23:22:12 GMT

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

Erik Hatcher commented on SOLR-7017:
------------------------------------

oops, SOLR-7107 transposition mistake in my commit messages - sorry about that.

> 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
>             Fix For: Trunk
>
>
> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message