Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-2722

AbstractByteBufBsonDocument#getFirstKey should throw NoSuchElementException if the document is empty

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 3.7.0
    • Affects Version/s: None
    • Component/s: BSON
    • None

      AbstractByteBufBsonDocument#getFirstKey shoulkd throw NoSuchElementException if the document is empty, as per specification of the method in BsonDocument.

            Assignee:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Reporter:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: