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

(private) SolrMetricManager.prepareCloudPlugins has unused parameter

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.1, master (8.0)
    • Component/s: metrics
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: