diff --git a/src/main/java/org/springframework/data/redis/cache/RedisCache.java b/src/main/java/org/springframework/data/redis/cache/RedisCache.java index 41cd0330b2..6b03927d2a 100644 --- a/src/main/java/org/springframework/data/redis/cache/RedisCache.java +++ b/src/main/java/org/springframework/data/redis/cache/RedisCache.java @@ -425,10 +425,6 @@ private CompletableFuture retrieveValue(Object key) { .thenApply(this::toValueWrapper); } - @Nullable - private Object nullSafeDeserializedStoreValue(@Nullable byte[] value) { - return value != null ? fromStoreValue(deserializeCacheValue(value)) : null; - } private boolean hasToStringMethod(Object target) { return hasToStringMethod(target.getClass());