[SERVER-12751] BSONBuilderBase is unused in the codebase Created: 15/Feb/14  Updated: 11/Jul/16  Resolved: 14/Jul/14

Status: Closed
Project: Core Server
Component/s: Internal Client, Internal Code
Affects Version/s: None
Fix Version/s: 2.7.4

Type: Improvement Priority: Major - P3
Reporter: Andrew Morrow (Inactive) Assignee: Tyler Brock
Resolution: Done Votes: 0
Labels: Performance
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to CXX-48 Remove unused and unusable BSONBuilde... Closed
Backwards Compatibility: Minor Change
Participants:

 Description   

Classes BSONObjBuilder and BSONArrayBuilder both derive from BSONBuilderBase, which is an abstract base class that makes virtual several key methods of BSONObjBuilder (and BSONArrayBuilder).

However, nowhere in the codebase, other than as a base class for BSONObjBuilder and BSONArrayBuilder, is this base class actually used. BSONObjBuilder and BSONArrayBuilder are the only subclasses, and no other references to the base type are found.



 Comments   
Comment by Githook User [ 14/Jul/14 ]

Author:

{u'username': u'TylerBrock', u'name': u'Tyler Brock', u'email': u'tyler.brock@gmail.com'}

Message: SERVER-12751 remove BSONBuilderBase
Branch: master
https://github.com/mongodb/mongo/commit/6d1570d1001a57fcac0f6412c8f22059609029c4

Generated at Thu Feb 08 03:29:30 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.