Browse Source

Polish

pull/5525/merge
Stephane Nicoll 10 years ago
parent
commit
4e4ea4b51f
  1. 10
      spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/mongo/embedded/EmbeddedMongoProperties.java

10
spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/mongo/embedded/EmbeddedMongoProperties.java

@ -16,7 +16,7 @@ @@ -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 { @@ -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 { @@ -67,10 +67,6 @@ public class EmbeddedMongoProperties {
return this.storage;
}
public void setStorage(Storage storage) {
this.storage = storage;
}
public static class Storage {
/**

Loading…
Cancel
Save