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

tweak SolrQueryResponse.getToLogAsString(String logid)

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 5.5, 6.0
    • None
    • None

    Description

      Whilst extending TestSolrQueryResponse in SOLR-8388 I noticed that getToLogAsString(String logid) returns "logidname1=value1 name2=value2 ... " instead of the "logid name1=value1 name2=value2 ..." indicated by its comment.

      summary of changes in patch against trunk:

      • Added space separator between logid and toLog values.
      • Removed trailing space at the end.
      • Added TestSolrQueryResponse.testToLog test case.
      • Reviewed callers of the method and adjusted call arg for two of them.

      Attachments

        1. SOLR-8404.patch
          5 kB
          Christine Poerschke

        Issue Links

          Activity

            People

              cpoerschke Christine Poerschke
              cpoerschke Christine Poerschke
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: