Skip to content

Commit 0e481b2

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

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
@@ -76,6 +76,7 @@
7676
* @author Thomas Darimont
7777
* @author Maninder Singh
7878
* @author Mark Paluch
79+
* @author Woojin Shin
7980
*/
8081
public interface MongoOperations extends FluentMongoOperations {
8182

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

0 commit comments

Comments
 (0)