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

DocRouter.getDocRouter accepts routerName as an Object

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.9, 6.0
    • Component/s: SolrCloud
    • Labels:
      None

      Description

      Refactor DocRouter.java from:

      public static DocRouter getDocRouter(Object routerName) {...}
      

      to:

      public static DocRouter getDocRouter(String routerName) {
      

      There's really no reason not to accept a routerName as a string.

        Attachments

          Activity

            People

            • Assignee:
              shalinmangar Shalin Shekhar Mangar
              Reporter:
              shalinmangar Shalin Shekhar Mangar
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: