Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding BsonDocument constructor that allocates a LinkedHashMap with known capacity #536

Closed
wants to merge 1 commit into from
Closed

Adding BsonDocument constructor that allocates a LinkedHashMap with known capacity #536

wants to merge 1 commit into from

Conversation

gaspardpetit
Copy link
Contributor

@gaspardpetit gaspardpetit commented Jan 28, 2020

Similar to #535 but this time for BsonDocument

JAVA-3613

…known capacity

Signed-off-by: Gaspard Petit <gaspard.petit@eidosmontreal.com>
@rozza
Copy link
Member

rozza commented Jan 28, 2020

Hi @gaspardpetit, thanks for the PR. I've added https://jira.mongodb.org/browse/JAVA-3613 to cover this and #535

Copy link
Contributor

@jyemin jyemin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry it took so long to get around to this. Just a couple of change requests, and we can merge it.

bson/src/main/org/bson/BsonDocument.java Show resolved Hide resolved
bson/src/main/org/bson/BsonDocument.java Show resolved Hide resolved
@jyemin
Copy link
Contributor

jyemin commented Jun 15, 2021

Sorry for leaving this un-merged for so long. We lost track of it after the initial review. I applied the requested changed myself and merged: 661985c

@jyemin jyemin closed this Jun 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants