Skip to content

Conversation

rozza
Copy link
Member

@rozza rozza commented Oct 3, 2023

@rozza rozza requested review from a team and stIncMale and removed request for a team October 3, 2023 10:51
logger.trace("Found property not present in the DataClass: $fieldName")
}
} else if (propertyModel.param.type.isMarkedNullable && reader.currentBsonType == BsonType.NULL) {
reader.skipValue()
Copy link
Collaborator

Choose a reason for hiding this comment

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

Optional: reader.readNull() is a bit clearer in intent, and a bit more efficient as well.

Copy link
Member Author

Choose a reason for hiding this comment

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

Ack

reader.readNull()
@rozza rozza merged commit 6a20fb6 into mongodb:master Oct 4, 2023
@rozza rozza deleted the JAVA-5134 branch October 4, 2023 08:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants