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

Add Nullable Annotation in GridFsTemplate findOne method

    • Type: Icon: Question Question
    • Resolution: Gone away
    • Priority: Icon: Trivial - P5 Trivial - P5
    • None
    • Affects Version/s: 3.4.3
    • Component/s: API
    • None

      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.

            Assignee:
            ross@mongodb.com Ross Lawley
            Reporter:
            jonatan.bresa32@gmail.com Jonatan Bresa
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: