driver-legacy/src/main/com/mongodb/gridfs/CLI.java
private static com.mongodb.Mongo getMongo() throws Exception {
        if (mongo == null) {
            mongo = new MongoClient(host);
        }
        return mongo;
    }
private static com.mongodb.Mongo getMongo() throws Exception {
        if (mongo == null) {
            mongo = new MongoClient(host);
        }
        return mongo;
    }
CHECKSTYLE:ON