[ https://issues.apache.org/jira/browse/SOLR-6116?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shalin Shekhar Mangar updated SOLR-6116: ---------------------------------------- Description: 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 not to accept a routerName as a string. was: 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. > 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 not to accept a routerName as a string. -- This message was sent by Atlassian JIRA (v6.2#6252) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org