Skip to content

Commit 6052571

Browse files
LinkedListmp911de
authored andcommitted
DATAMONGO-1375 - Fix typo in MongoOperations JavaDoc.
Original pull request: #343.
1 parent 8ddbc3c commit 6052571

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ public interface MongoOperations {
190190
<T> DBCollection createCollection(Class<T> entityClass);
191191

192192
/**
193-
* Create a collect with a name based on the provided entity class using the options.
193+
* Create a collection with a name based on the provided entity class using the options.
194194
*
195195
* @param entityClass class that determines the collection to create
196196
* @param collectionOptions options to use when creating the collection.
@@ -207,7 +207,7 @@ public interface MongoOperations {
207207
DBCollection createCollection(String collectionName);
208208

209209
/**
210-
* Create a collect with the provided name and options.
210+
* Create a collection with the provided name and options.
211211
*
212212
* @param collectionName name of the collection
213213
* @param collectionOptions options to use when creating the collection.

0 commit comments

Comments
 (0)