Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-7017

SolrParams.getParams should return 0-length array instead of null

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • 6.0
    • None
    • None

    Description

      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?

      Attachments

        Activity

          People

            Unassigned Unassigned
            dsmiley David Smiley
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated: