Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-69704

Remove unused StatusWith::andThen, StatusWith::transform

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Service Arch 2022-10-03, Service Arch 2022-10-17

      These are unused and make up the majority of StatusWith's implementation in terms of LoC, and a vast majority of its unit test is dedicated to testing these.

      andThen is used in one place but that place would be much better off without it.
      So this ticket depends on the removal of that caller in SERVER-69675.

            Assignee:
            billy.donahue@mongodb.com Billy Donahue
            Reporter:
            billy.donahue@mongodb.com Billy Donahue
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: