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

Add Nullable Annotation in GridFsTemplate findOne method

    XMLWordPrintableJSON

Details

    • Icon: Question Question
    • Resolution: Gone away
    • Icon: Trivial - P5 Trivial - P5
    • None
    • 3.4.3
    • API
    • None

    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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: