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

DocRouter.getDocRouter accepts routerName as an Object

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          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:

              Slack

                Issue deployment