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

Testing for extra properties should use startsWith rather than indexOf

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • None
    • None
    • None

    Description

      As per Davig Smiley's comment it's certainly more correct to use beginsWith rather that indexOf() != -1.

      Attachments

        Activity

          People

            erickerickson Erick Erickson
            erickerickson Erick Erickson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: