Skip to content

Commit bd628a0

Browse files
Ricardo Espirito Santoodrotbohm
authored andcommitted
DATACMNS-771 - Fixed typo in BasicPersistentEntity.
Original pull request: #145.
1 parent 19ab5ee commit bd628a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/springframework/data/mapping/model/BasicPersistentEntity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ public PersistentPropertyAccessor getPropertyAccessor(Object bean) {
403403
@Override
404404
public IdentifierAccessor getIdentifierAccessor(Object bean) {
405405

406-
Assert.notNull(bean, "Targte bean must not be null!");
406+
Assert.notNull(bean, "Target bean must not be null!");
407407
Assert.isTrue(getType().isInstance(bean), "Target bean is not of type of the persistent entity!");
408408

409409
return hasIdProperty() ? new IdPropertyIdentifierAccessor(this, bean) : NullReturningIdentifierAccessor.INSTANCE;

0 commit comments

Comments
 (0)