You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Shalin Shekhar Mangar (JIRA)" <ji...@apache.org> on 2014/05/28 15:15:02 UTC

[jira] [Created] (SOLR-6116) DocRouter.getDocRouter accepts routerName as an Object

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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org