[ https://issues.apache.org/jira/browse/SOLR-7017?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14287628#comment-14287628 ]
Noble Paul commented on SOLR-7017: ---------------------------------- yeah sure, just don't create a zero length array always > 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: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org