Skip to content

Commit 38fc764

Browse files
oy-ilhochristophstrobl
authored andcommitted
DATAMONGO-1314 - Fix typo in Exception message.
Original Pull Request: #265
1 parent ddc3925 commit 38fc764

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1960,7 +1960,7 @@ String determineCollectionName(Class<?> entityClass) {
19601960

19611961
MongoPersistentEntity<?> entity = mappingContext.getPersistentEntity(entityClass);
19621962
if (entity == null) {
1963-
throw new InvalidDataAccessApiUsageException("No Persitent Entity information found for the class "
1963+
throw new InvalidDataAccessApiUsageException("No Persistent Entity information found for the class "
19641964
+ entityClass.getName());
19651965
}
19661966
return entity.getCollection();

0 commit comments

Comments
 (0)