[SERVER-65257] Expose only the all arguments constructor for 'ResumeTokenData' class. Created: 05/Apr/22  Updated: 29/Oct/23  Resolved: 28/Jun/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.1.0-rc0

Type: Improvement Priority: Minor - P4
Reporter: Arun Banala Assignee: Catalin Sumanaru
Resolution: Fixed Votes: 0
Labels: neweng, tscs-ramp
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: QE 2022-06-27, QE 2022-07-11
Participants:

 Description   

ResumeTokenData class currently allows a default constructor, which could lead to incorrect default value for the member variables. We should either make the default constructor a private, or remove it completely if it's feasible.



 Comments   
Comment by Githook User [ 28/Jun/22 ]

Author:

{'name': 'Catalin Sumanaru', 'email': 'catalin.sumanaru@mongodb.com'}

Message: SERVER-65257 Expose only the all arguments constructor for 'ResumeTokenData' class
Branch: master
https://github.com/mongodb/mongo/commit/62d6f21de4e554c1b4656e36337af08e896567fa

Generated at Thu Feb 08 06:02:14 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.