Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
4e4ea4b5
Commit
4e4ea4b5
authored
Apr 08, 2016
by
Stephane Nicoll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Polish
parent
d3f1d126
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
7 deletions
+3
-7
EmbeddedMongoProperties.java
...autoconfigure/mongo/embedded/EmbeddedMongoProperties.java
+3
-7
No files found.
spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/mongo/embedded/EmbeddedMongoProperties.java
View file @
4e4ea4b5
...
@@ -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.
Array
s
;
import
java.util.
Collection
s
;
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
.
as
List
(
Feature
.
SYNC_DELAY
));
Collections
.
singleton
List
(
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
{
/**
/**
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment