Skip to content

Commit

Permalink
Polish
Browse files Browse the repository at this point in the history
  • Loading branch information
snicoll committed Apr 8, 2016
1 parent d3f1d12 commit 4e4ea4b
Showing 1 changed file with 3 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand All @@ -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;
Expand All @@ -67,10 +67,6 @@ public Storage getStorage() {
return this.storage;
}

public void setStorage(Storage storage) {
this.storage = storage;
}

public static class Storage {

/**
Expand Down

0 comments on commit 4e4ea4b

Please sign in to comment.