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

DocRouter.getDocRouter accepts routerName as an Object

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • None
    • 4.9, 6.0
    • SolrCloud
    • 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

            shalin Shalin Shekhar Mangar
            shalin Shalin Shekhar Mangar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: