Skip to content

Commit b980ed2

Browse files
committed
Fix typo
Little typo
1 parent 3dd9b0a commit b980ed2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -1881,7 +1881,7 @@ String determineCollectionName(Class<?> entityClass) {
18811881

18821882
MongoPersistentEntity<?> entity = mappingContext.getPersistentEntity(entityClass);
18831883
if (entity == null) {
1884-
throw new InvalidDataAccessApiUsageException("No Persitent Entity information found for the class "
1884+
throw new InvalidDataAccessApiUsageException("No Persistent Entity information found for the class "
18851885
+ entityClass.getName());
18861886
}
18871887
return entity.getCollection();

0 commit comments

Comments
 (0)