File tree Expand file tree Collapse file tree 1 file changed +0
-7
lines changed
spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -2892,13 +2892,6 @@ public Document doInCollection(MongoCollection<Document> collection) throws Mong
28922892 FindIterable <Document > iterable = cursorPreparer .initiateFind (collection ,
28932893 col -> collectionPreparer .prepare (col ).find (query , Document .class ));
28942894
2895- if (LOGGER .isDebugEnabled ()) {
2896-
2897- LOGGER .debug (String .format ("findOne using query: %s fields: %s in db.collection: %s" ,
2898- serializeToJsonSafely (query ), serializeToJsonSafely (fields .orElseGet (Document ::new )),
2899- collection .getNamespace () != null ? collection .getNamespace ().getFullName () : "n/a" ));
2900- }
2901-
29022895 if (fields .isPresent ()) {
29032896 iterable = iterable .projection (fields .get ());
29042897 }
You can’t perform that action at this time.
0 commit comments