Skip to content

Commit ba902e7

Browse files
LinkedListmp911de
authored andcommitted
DATAMONGO-1375 - Fix typo in MongoOperations JavaDoc.
Original pull request: spring-projects#343.
1 parent 7e8ec21 commit ba902e7

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
@@ -191,7 +191,7 @@ public interface MongoOperations {
191191
<T> DBCollection createCollection(Class<T> entityClass);
192192

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

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

0 commit comments

Comments
 (0)