Solr
  1. Solr
  2. SOLR-6116

DocRouter.getDocRouter accepts routerName as an Object

    Details

    • Type: Task Task
    • Status: Resolved
    • Priority: Trivial 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.

        Activity

        Hide
        ASF subversion and git services added a comment -

        Commit 1598212 from shalin@apache.org in branch 'dev/trunk'
        [ https://svn.apache.org/r1598212 ]

        SOLR-6116: Refactor DocRouter.getDocRouter to accept routerName as a String

        Show
        ASF subversion and git services added a comment - Commit 1598212 from shalin@apache.org in branch 'dev/trunk' [ https://svn.apache.org/r1598212 ] SOLR-6116 : Refactor DocRouter.getDocRouter to accept routerName as a String
        Hide
        ASF subversion and git services added a comment -

        Commit 1598213 from shalin@apache.org in branch 'dev/branches/branch_4x'
        [ https://svn.apache.org/r1598213 ]

        SOLR-6116: Refactor DocRouter.getDocRouter to accept routerName as a String

        Show
        ASF subversion and git services added a comment - Commit 1598213 from shalin@apache.org in branch 'dev/branches/branch_4x' [ https://svn.apache.org/r1598213 ] SOLR-6116 : Refactor DocRouter.getDocRouter to accept routerName as a String

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development