Fix misspelled method name in RedisPersistentEntity.
Resolves: #2933 Closes: #2935
This commit is contained in:
committed by
Christoph Strobl
parent
6ce2896ba1
commit
4203a5bb67
@@ -592,7 +592,7 @@ public class RedisKeyValueAdapter extends AbstractKeyValueAdapter
|
||||
|
||||
RedisPersistentEntity<?> entity = this.converter.getMappingContext().getRequiredPersistentEntity(target.getClass());
|
||||
|
||||
if (entity.hasExplictTimeToLiveProperty()) {
|
||||
if (entity.hasExplicitTimeToLiveProperty()) {
|
||||
|
||||
RedisPersistentProperty ttlProperty = entity.getExplicitTimeToLiveProperty();
|
||||
|
||||
|
||||
@@ -58,7 +58,7 @@ public class BasicRedisPersistentEntity<T> extends BasicKeyValuePersistentEntity
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean hasExplictTimeToLiveProperty() {
|
||||
public boolean hasExplicitTimeToLiveProperty() {
|
||||
return getExplicitTimeToLiveProperty() != null;
|
||||
}
|
||||
|
||||
|
||||
@@ -41,7 +41,7 @@ public interface RedisPersistentEntity<T> extends KeyValuePersistentEntity<T, Re
|
||||
* @return {@literal true} when a property is annotated with {@link org.springframework.data.redis.core.TimeToLive}.
|
||||
* @since 1.8
|
||||
*/
|
||||
boolean hasExplictTimeToLiveProperty();
|
||||
boolean hasExplicitTimeToLiveProperty();
|
||||
|
||||
/**
|
||||
* Get the {@link PersistentProperty} that is annotated with {@link org.springframework.data.redis.core.TimeToLive}.
|
||||
|
||||
Reference in New Issue
Block a user