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

MatchExpression::shallowClone() should be renamed

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.0.0-rc0
    • Affects Version/s: None
    • Component/s: Internal Code
    • Query Execution
    • Major Change

      The operation it performs is usually called a deep copy, so it is confusing every time I read it. Hopefully renaming it to either clone or deepClone will avoid that confusion for everyone in the future.

            Assignee:
            amr.elhelw@mongodb.com Amr Elhelw
            Reporter:
            mathias@mongodb.com Mathias Stearn
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: