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

Deprecate protected fields in com.mongodb.gridfs.{GridFS,GridFSFile}

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.12.0
    • Affects Version/s: None
    • Component/s: API
    • Labels:

      Fields to be deprecated:
      GridFS

      • protected final DB _db;
      • protected final String _bucketName;
      • protected final DBCollection _filesCollection;
      • protected final DBCollection _chunkCollection;

      GridFSFile

      • protected GridFS _fs;

      Following methods will be added to use instead:

      • GridFS.getFilesCollection()
      • GridFS.getChunksCollection()
      • GridFSFile.getGridFS()

      For other deprecated fields there are getters already.

            Assignee:
            Unassigned Unassigned
            Reporter:
            uladzimir_mihura@epam.com Uladzimir Mihura
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: