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

MatchExpression::shallowClone() should be renamed

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.0.0-rc0
    • None
    • Internal Code
    • Query Execution
    • Major Change

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: