[JAVA-4668] Add Nullable Annotation in GridFsTemplate findOne method Created: 05/Jul/22 Updated: 27/Oct/23 Resolved: 20/Jul/22 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | API |
| Affects Version/s: | 3.4.3 |
| Fix Version/s: | None |
| Type: | Question | Priority: | Trivial - P5 |
| Reporter: | Jonatan Bresa | Assignee: | Ross Lawley |
| Resolution: | Gone away | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
FindOne method which is created in GridFsOperations class has @Nullable annotation. Hovewer the class GridFsTemplate which implements this class does not have this annotation on FindOne method.
When working with sonar, it marks this as major issue. |
| Comments |
| Comment by PM Bot [ 20/Jul/22 ] |
|
There hasn't been any recent activity on this ticket, so we're resolving it. Thanks for reaching out! Please feel free to comment on this if you're able to provide more information. |
| Comment by Ross Lawley [ 05/Jul/22 ] |
|
Thanks for the ticket - Please can you let me know the full class name including namespace. I think these classes might not be related the MongoDB Java Driver but some other library. All the best, Ross |