This commit is contained in:
Stephane Nicoll 2016-04-08 09:23:30 +02:00
parent d3f1d126f3
commit 4e4ea4b51f
1 changed files with 3 additions and 7 deletions

View File

@ -16,7 +16,7 @@
package org.springframework.boot.autoconfigure.mongo.embedded;
import java.util.Arrays;
import java.util.Collections;
import java.util.HashSet;
import java.util.Set;
@ -39,13 +39,13 @@ public class EmbeddedMongoProperties {
*/
private String version = "2.6.10";
private Storage storage;
private final Storage storage = new Storage();
/**
* Comma-separated list of features to enable.
*/
private Set<Feature> features = new HashSet<Feature>(
Arrays.asList(Feature.SYNC_DELAY));
Collections.singletonList(Feature.SYNC_DELAY));
public String getVersion() {
return this.version;
@ -67,10 +67,6 @@ public class EmbeddedMongoProperties {
return this.storage;
}
public void setStorage(Storage storage) {
this.storage = storage;
}
public static class Storage {
/**