The constructors of value objects that represent internal structures should be private

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 0.4.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      As discussed in our last meeting, the constructors of the following classes should be marked as private (and the classes as final):

      • MongoDB/Driver/CursorID
      • MongoDB/Driver/Cursor
      • MongoDB/Driver/Server (already done, but also has a ctor implementation)
      • MongoDB/Driver/WriteConcernError (currently has no ctor at all)
      • MongoDB/Driver/WriteError (currently has no ctor at all)
      • MongoDB/Driver/WriteResult (currently has no ctor at all)

              Assignee:
              Hannes Magnusson (Inactive)
              Reporter:
              Derick Rethans
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: