-
Type:
Improvement
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: BSON, Documentation
-
None
-
None
-
Fully Compatible
-
Not Needed
-
None
-
None
-
None
-
None
-
None
-
None
We found that BsonBinary#asUuid and BsonBinarySubType#isUuid are inconsistent. The latter allows legacy UUID to be categorized as UUID but the former throws an exception if the UUID is legacy.
In addition, BsonBinary#asUuid does not have @throws in its Javadoc.