Details
-
Improvement
-
Resolution: Done
-
Minor - P4
-
None
-
None
-
None
Description
Since it's possible to store multiple files with the same name (ObjectId unique), it's unclear what GridFS.read(String filename) should do. Either return the first one (hmmmm....) or throw an exception, or return a List<GridFSObject> or Collection<GridFSObject>. My suggestion would be a List<>, I suppose.