[JAVA-2886] Incorrect JSR-305 nullability annotations Created: 11/Jun/18 Updated: 28/Oct/23 Resolved: 21/Jun/18 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | API |
| Affects Version/s: | 3.7.0 |
| Fix Version/s: | 3.8.0 |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | Elan Kugelmass | Assignee: | Unassigned |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Description |
|
Including nullness annotations in the 3.7.x series driver was a welcome addition. Thanks for adding this very useful metadata. There are a few places in the API where methods and parameters are (meta-)labeled with the wrong nullness annotation. Some examples, but far from exhaustive:
|
| Comments |
| Comment by Jeffrey Yemin [ 21/Jun/18 ] |
|
Audited the builders and MongoCollection and fixed all the issues I found there. There may be more lurking, but wanted to get these in for the 3.8 release. If more are found subsequently, please open a new issue. |
| Comment by Githook User [ 21/Jun/18 ] |
|
Author: {'username': 'jyemin', 'name': 'Jeff Yemin', 'email': 'jeff.yemin@10gen.com'}Message: Added to:
|
| Comment by Jeffrey Yemin [ 20/Jun/18 ] |
| Comment by Ross Lawley [ 12/Jun/18 ] |
|
Thanks for the ticket epkugelmass, we'll investigate and update for 3.8 |