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

(private) SolrMetricManager.prepareCloudPlugins has unused parameter

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 7.1, 8.0
    • metrics
    • None

    Description

      SolrMetricManager.prepareCloudPlugins is a private method and its last parameter (defaultPlugin) is always passed in as null leading to an effectively dead/unreachable block of code in the method implementation.

      This ticket proposes to remove the unused parameter and associated unreachable block of code.

      Attachments

        1. SOLR-11140.patch
          2 kB
          Omar Abdelnabi

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: