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

cleanup/refactor/fix deprecated methods/constructors in CollectionAdminRequest

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • None
    • 7.0
    • None
    • None

    Description

      spinning off of SOLR-10755...

      • CollectionAdminRequest
        • has roughly double the number of deprecations of all other solrj classes combined
        • many of the deprecated methods/constructors are still used in a lot of places in tests
        • in many cases the non-deprecated "constructor" versions aren't validating the same way the deprecated setters do
        • in at least one case i see obvious bugs in the non-deprecated methods (see ForceLeader constructors)
        • once many of these deprecated setters are removed, a lot of member variables should become final

      Attachments

        1. SOLR-10757.patch
          121 kB
          Chris M. Hostetter

        Issue Links

          Activity

            People

              hossman Chris M. Hostetter
              hossman Chris M. Hostetter
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: