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

NamedList.toString() ought to be consistent with AbstractMap

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 9.0
    • None

    Description

      NamedList.toString() does not put a space after the joining commas, whereas AbstractMap does.  I think it ought to be consistent.  This can matter if you write tests that toString() a piece of a SolrResponse that varies in its use of EmbeddedSolrServer versus other SolrClients that serialize the response.  Some custom SearchComponents or whatever might prefer to use a Map and that should ultimately be consistent.  I know the assumption is a little brittle but still.

      I think 9.0 without a back-port is safe.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h