Skip to content

Commit 7fd1955

Browse files
committed
Polish contribution
See gh-44384
1 parent 2f288bf commit 7fd1955

File tree

1 file changed

+8
-8
lines changed
  • spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/mongo

1 file changed

+8
-8
lines changed

spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/mongo/MongoProperties.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -52,19 +52,19 @@ public class MongoProperties {
5252
public static final String DEFAULT_URI = "mongodb://localhost/test";
5353

5454
/**
55-
* Mongo server host. Ignored if Mongo 'uri' is specified.
55+
* Mongo server host. Ignored if 'uri' is set.
5656
*/
5757
private String host;
5858

5959
/**
60-
* Mongo server port. Ignored if Mongo 'uri' is specified.
60+
* Mongo server port. Ignored if 'uri' is set.
6161
*/
6262
private Integer port = null;
6363

6464
/**
65-
* Additional server hosts. Ignored if a Mongo 'uri' is provided or if 'host' is
66-
* omitted. Additional hosts will use the default mongo port of 27017. If you want to
67-
* use a different port you can use the "host:port" syntax.
65+
* Additional server hosts. Ignored if 'uri' is set or if 'host' is omitted.
66+
* Additional hosts will use the default mongo port of 27017. If you want to use a
67+
* different port you can use the "host:port" syntax.
6868
*/
6969
private List<String> additionalHosts;
7070

@@ -86,17 +86,17 @@ public class MongoProperties {
8686
private final Gridfs gridfs = new Gridfs();
8787

8888
/**
89-
* Login user of the mongo server. Ignored if Mongo 'uri' is specified.
89+
* Login user of the mongo server. Ignored if 'uri' is set.
9090
*/
9191
private String username;
9292

9393
/**
94-
* Login password of the mongo server. Ignored if Mongo 'uri' is specified.
94+
* Login password of the mongo server. Ignored if 'uri' is set.
9595
*/
9696
private char[] password;
9797

9898
/**
99-
* Required replica set name for the cluster. Ignored if Mongo 'uri' is specified.
99+
* Required replica set name for the cluster. Ignored if 'uri' is set.
100100
*/
101101
private String replicaSetName;
102102

0 commit comments

Comments
 (0)