Skip to content

Commit 7a0e60b

Browse files
wish-inmp911de
authored andcommitted
Fix typo in javadoc of MongoOperations.stream.
Signed-off-by: Woojin Shin <[email protected]> Closes #4942
1 parent 0ae2054 commit 7a0e60b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/MongoOperations.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@
7777
* @author Thomas Darimont
7878
* @author Maninder Singh
7979
* @author Mark Paluch
80+
* @author Woojin Shin
8081
*/
8182
public interface MongoOperations extends FluentMongoOperations {
8283

@@ -227,7 +228,7 @@ public <T> T execute(SessionCallback<T> action, Consumer<ClientSession> onComple
227228
* Executes the given {@link Query} on the entity collection of the specified {@code entityType} backed by a Mongo DB
228229
* {@link com.mongodb.client.FindIterable}.
229230
* <p>
230-
* Returns a {@link String} that wraps the Mongo DB {@link com.mongodb.client.FindIterable} that needs to be closed.
231+
* Returns a {@link Stream} that wraps the Mongo DB {@link com.mongodb.client.FindIterable} that needs to be closed.
231232
*
232233
* @param query the query class that specifies the criteria used to find a document and also an optional fields
233234
* specification. Must not be {@literal null}.

0 commit comments

Comments
 (0)