From 7b08b4ac924c56afc50ce12ce5810ba1f698d18e Mon Sep 17 00:00:00 2001 From: Woojin Shin Date: Wed, 9 Apr 2025 21:06:52 +0900 Subject: [PATCH] Fix typo in javadoc of MongoOperations.stream. Signed-off-by: Woojin Shin --- .../org/springframework/data/mongodb/core/MongoOperations.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/MongoOperations.java b/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/MongoOperations.java index f400b35a68..65396bc7fe 100644 --- a/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/MongoOperations.java +++ b/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/MongoOperations.java @@ -77,6 +77,7 @@ * @author Thomas Darimont * @author Maninder Singh * @author Mark Paluch + * @author Woojin Shin */ public interface MongoOperations extends FluentMongoOperations { @@ -227,7 +228,7 @@ public T execute(SessionCallback action, Consumer onComple * Executes the given {@link Query} on the entity collection of the specified {@code entityType} backed by a Mongo DB * {@link com.mongodb.client.FindIterable}. *

- * Returns a {@link String} that wraps the Mongo DB {@link com.mongodb.client.FindIterable} that needs to be closed. + * Returns a {@link Stream} that wraps the Mongo DB {@link com.mongodb.client.FindIterable} that needs to be closed. * * @param query the query class that specifies the criteria used to find a document and also an optional fields * specification. Must not be {@literal null}.