Commit 4e4ea4b5 authored by Stephane Nicoll's avatar Stephane Nicoll

Polish

parent d3f1d126
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
package org.springframework.boot.autoconfigure.mongo.embedded; package org.springframework.boot.autoconfigure.mongo.embedded;
import java.util.Arrays; import java.util.Collections;
import java.util.HashSet; import java.util.HashSet;
import java.util.Set; 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 String version = "2.6.10";
private Storage storage; private final Storage storage = new Storage();
/** /**
* Comma-separated list of features to enable. * Comma-separated list of features to enable.
*/ */
private Set<Feature> features = new HashSet<Feature>( private Set<Feature> features = new HashSet<Feature>(
Arrays.asList(Feature.SYNC_DELAY)); Collections.singletonList(Feature.SYNC_DELAY));
public String getVersion() { public String getVersion() {
return this.version; return this.version;
...@@ -67,10 +67,6 @@ public class EmbeddedMongoProperties { ...@@ -67,10 +67,6 @@ public class EmbeddedMongoProperties {
return this.storage; return this.storage;
} }
public void setStorage(Storage storage) {
this.storage = storage;
}
public static class Storage { public static class Storage {
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment