mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
Polish
This commit is contained in:
parent
0d61f92479
commit
5278baca01
@ -191,9 +191,8 @@ public class MongoProperties {
|
||||
|
||||
/**
|
||||
* Creates a {@link MongoClient} using the given {@code options} and
|
||||
* {@code environment}. If the configured port is zero, the value of the
|
||||
* {@code local.mongo.port} property retrieved from the {@code environment} is used to
|
||||
* configure the client.
|
||||
* {@code environment}. If the environment contains a {@code local.mongo.port}
|
||||
* property, it is used to configure a client to an embedded MongoDB instance.
|
||||
* @param options the options
|
||||
* @param environment the environment
|
||||
* @return the Mongo client
|
||||
|
Loading…
Reference in New Issue
Block a user