Description
The condition
if (!"UUID".equals(uuidConstructorName) || !"GUID".equals(uuidConstructorName)) |
would always be true, such that it would always create a BsonBinary with the subtype:
BsonBinarySubType.UUID_LEGACY
|
when parsing a UUID.