From 1f53638384612fb5a6f735e547de480187da6847 Mon Sep 17 00:00:00 2001 From: KIM MIN WOO <79193811+minwoo1999@users.noreply.github.com> Date: Tue, 19 Nov 2024 17:08:18 +0900 Subject: [PATCH] refactor: remove unused method 'nullSafeDeserializedStoreValue --- .../java/org/springframework/data/redis/cache/RedisCache.java | 4 ---- 1 file changed, 4 deletions(-) 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());