[JAVA-2722] AbstractByteBufBsonDocument#getFirstKey should throw NoSuchElementException if the document is empty Created: 29/Dec/17 Updated: 28/Oct/23 Resolved: 08/Jan/18 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | BSON |
| Affects Version/s: | None |
| Fix Version/s: | 3.7.0 |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Jeffrey Yemin | Assignee: | Jeffrey Yemin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
AbstractByteBufBsonDocument#getFirstKey shoulkd throw NoSuchElementException if the document is empty, as per specification of the method in BsonDocument. |
| Comments |
| Comment by Githook User [ 08/Jan/18 ] |
|
Author: {'name': 'Jeff Yemin', 'username': 'jyemin', 'email': 'jeff.yemin@10gen.com'}Message: |