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

SolrResourceLoader calls normalizeDir twice on when the input instanceDir is null

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.3
    • Component/s: None
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: