3939 * Implementation of GridFS v1.0
4040 *
4141 * <a href="http://www.mongodb.org/display/DOCS/GridFS+Specification">GridFS 1.0 spec</a>
42- *
42+ *
4343 * @dochub gridfs
4444 */
4545public class GridFS {
@@ -201,7 +201,7 @@ public void remove( ObjectId id ){
201201 _filesCollection .remove ( new BasicDBObject ( "_id" , id ) );
202202 _chunkCollection .remove ( new BasicDBObject ( "files_id" , id ) );
203203 }
204-
204+
205205 /**
206206 * removes all files matching the given filename
207207 * @param filename
@@ -219,7 +219,7 @@ public void remove( DBObject query ){
219219 f .remove ();
220220 }
221221 }
222-
222+
223223
224224 // --------------------------
225225 // ------ writing -------
@@ -240,7 +240,7 @@ public GridFSInputFile createFile( byte[] data ){
240240 * creates a file entry.
241241 * After calling this method, you have to call save() on the GridFSInputFile file
242242 * @param f the file object
243- * @return
243+ * @return
244244 * @throws IOException
245245 */
246246 public GridFSInputFile createFile ( File f )
@@ -262,7 +262,7 @@ public GridFSInputFile createFile( InputStream in ){
262262 * creates a file entry.
263263 * after calling this method, you have to call save() on the GridFSInputFile file
264264 * @param in an inputstream containing the file's data
265- * @param closeStreamOnPersist indicate the passed in input stream should be closed
265+ * @param closeStreamOnPersist indicate the passed in input stream should be closed
266266 * once the data chunk persisted
267267 * @return
268268 */
@@ -286,7 +286,7 @@ public GridFSInputFile createFile( InputStream in , String filename ){
286286 * After calling this method, you have to call save() on the GridFSInputFile file
287287 * @param in an inputstream containing the file's data
288288 * @param filename the file name as stored in the db
289- * @param closeStreamOnPersist indicate the passed in input stream should be closed
289+ * @param closeStreamOnPersist indicate the passed in input stream should be closed
290290 * once the data chunk persisted
291291 * @return
292292 */
@@ -302,7 +302,7 @@ public GridFSInputFile createFile( InputStream in , String filename, boolean clo
302302 public GridFSInputFile createFile (String filename ) {
303303 return new GridFSInputFile ( this , filename );
304304 }
305-
305+
306306 /**
307307 * This method creates an empty {@link GridFSInputFile} instance. On this
308308 * instance an {@link java.io.OutputStream} can be obtained using the
@@ -311,7 +311,7 @@ public GridFSInputFile createFile(String filename) {
311311 * {@link GridFSInputFile#setFilename(String)}. The file will be completely
312312 * written and closed after calling the {@link java.io.OutputStream#close()}
313313 * method on the output stream.
314- *
314+ *
315315 * @return GridFS file handle instance.
316316 */
317317 public GridFSInputFile createFile () {
0 commit comments