You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spring-data-mongodb/src/main/java/org/springframework/data/mongodb/config/ServerAddressPropertyEditor.java
+12-4
Original file line number
Diff line number
Diff line change
@@ -88,14 +88,18 @@ public void setAsText(@Nullable String replicaSetString) {
Copy file name to clipboardExpand all lines: spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/index/MongoPersistentEntityIndexCreator.java
Copy file name to clipboardExpand all lines: spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/index/MongoPersistentEntityIndexResolver.java
Copy file name to clipboardExpand all lines: spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/index/ReactiveMongoPersistentEntityIndexCreator.java
Copy file name to clipboardExpand all lines: spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/mapping/BasicMongoPersistentProperty.java
+5-3
Original file line number
Diff line number
Diff line change
@@ -93,9 +93,11 @@ public BasicMongoPersistentProperty(Property property, MongoPersistentEntity<?>
93
93
94
94
StringannotatedName = getAnnotatedFieldName();
95
95
if (!ID_FIELD_NAME.equals(annotatedName)) {
96
-
LOG.warn(String.format(
97
-
"Customizing field name for id property '%s.%s' is not allowed! Custom name ('%s') will not be considered!",
98
-
owner.getName(), getName(), annotatedName));
96
+
if(LOG.isWarnEnabled()) {
97
+
LOG.warn(String.format(
98
+
"Customizing field name for id property '%s.%s' is not allowed! Custom name ('%s') will not be considered!",
Copy file name to clipboardExpand all lines: spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/mapping/event/LoggingEventListener.java
+21-7
Original file line number
Diff line number
Diff line change
@@ -40,7 +40,9 @@ public class LoggingEventListener extends AbstractMongoEventListener<Object> {
Copy file name to clipboardExpand all lines: spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/mapping/event/ValidatingMongoEventListener.java
+2-2
Original file line number
Diff line number
Diff line change
@@ -59,14 +59,14 @@ public ValidatingMongoEventListener(Validator validator) {
Copy file name to clipboardExpand all lines: spring-data-mongodb/src/main/java/org/springframework/data/mongodb/repository/support/IndexEnsuringQueryCreationListener.java
+4-1
Original file line number
Diff line number
Diff line change
@@ -136,7 +136,10 @@ public void onCreation(PartTreeMongoQuery query) {
0 commit comments