The find methods of the GridFS use the DBCursor to convert the results into a list.
The cursor should be closed in a final block.
See comment here:
https://github.com/mongodb/mongo-java-driver/pull/88/files#r2251287
The find methods of the GridFS use the DBCursor to convert the results into a list.
The cursor should be closed in a final block.
See comment here:
https://github.com/mongodb/mongo-java-driver/pull/88/files#r2251287