From c847db77e69a8fb0dafc466d7175bd1feadb2e70 Mon Sep 17 00:00:00 2001 From: Scott Frederick Date: Wed, 31 May 2023 17:09:45 -0500 Subject: [PATCH] Correct precedence in description of MongoDB properties Closes gh-35686 --- .../boot/autoconfigure/mongo/MongoProperties.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/mongo/MongoProperties.java b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/mongo/MongoProperties.java index 3a8d6511c1..29674e4e0c 100644 --- a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/mongo/MongoProperties.java +++ b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/mongo/MongoProperties.java @@ -59,12 +59,12 @@ public class MongoProperties { private Integer port = null; /** - * Mongo database URI. Overrides host, port, username, password, and database. + * Mongo database URI. Overrides host, port, username, and password. */ private String uri; /** - * Database name. + * Database name. Overrides database in URI. */ private String database;