@SuppressWarnings("deprecation") // We know GridFS uses the old API. A new API version will be address later. private static GridFS getGridFS() throws Exception { if (gridFS == null) { gridFS = new GridFS(getMongo().getDB(db)); } return gridFS; }
@SuppressWarnings("deprecation") // We know GridFS uses the old API. A new API version will be address later. private static GridFS getGridFS() throws Exception { if (gridFS == null) { gridFS = new GridFS(getMongo().getDB(db)); } return gridFS; }