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

SolrResourceLoader calls normalizeDir twice on when the input instanceDir is null

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 1.3
    • None
    • None

    Description

      Minor nit I noticed while looking at the SolrResourceLoader:
      When the instanceDir is null upon constructing a SolrResourceLoader, normalizeDir is called twice, once by locateInstanceDir, and then again in the constructor.

      Patch to follow that also adds some docs on it and a simple unit test, etc.

      Attachments

        1. SOLR-472.patch
          3 kB
          Grant Ingersoll

        Activity

          People

            gsingers Grant Ingersoll
            gsingers Grant Ingersoll
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: