Shalin Shekhar Mangar created SOLR-6116:
-------------------------------------------

             Summary: DocRouter.getDocRouter accepts routerName as an Object
                 Key: SOLR-6116
                 URL: https://issues.apache.org/jira/browse/SOLR-6116
             Project: Solr
          Issue Type: Task
          Components: SolrCloud
            Reporter: Shalin Shekhar Mangar
            Priority: Trivial
             Fix For: 4.9, 5.0


Refactor DocRouter.java from:
{code}
public static DocRouter getDocRouter(Object routerName) {...}
{code}
to:
{code}
public static DocRouter getDocRouter(String routerName) {
{code}

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



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to