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 f6877da44..5c7193b52 100644 --- a/src/main/java/org/springframework/data/redis/cache/RedisCache.java +++ b/src/main/java/org/springframework/data/redis/cache/RedisCache.java @@ -41,7 +41,7 @@ import org.springframework.util.ReflectionUtils; /** * {@link org.springframework.cache.Cache} implementation using for Redis as the underlying store for cache data. - * + *

* Use {@link RedisCacheManager} to create {@link RedisCache} instances. * * @author Christoph Strobl @@ -52,6 +52,7 @@ import org.springframework.util.ReflectionUtils; * @see org.springframework.cache.support.AbstractValueAdaptingCache * @since 2.0 */ +@SuppressWarnings("unused") public class RedisCache extends AbstractValueAdaptingCache { private static final byte[] BINARY_NULL_VALUE = RedisSerializer.java().serialize(NullValue.INSTANCE); @@ -136,7 +137,8 @@ public class RedisCache extends AbstractValueAdaptingCache { } @SuppressWarnings("unchecked") - private synchronized @Nullable T getSynchronized(Object key, Callable valueLoader) { + @Nullable + private synchronized T getSynchronized(Object key, Callable valueLoader) { ValueWrapper result = get(key); diff --git a/src/main/java/org/springframework/data/redis/cache/RedisCacheConfiguration.java b/src/main/java/org/springframework/data/redis/cache/RedisCacheConfiguration.java index 74c73cc28..da9b06215 100644 --- a/src/main/java/org/springframework/data/redis/cache/RedisCacheConfiguration.java +++ b/src/main/java/org/springframework/data/redis/cache/RedisCacheConfiguration.java @@ -33,7 +33,7 @@ import org.springframework.util.Assert; /** * Immutable {@link RedisCacheConfiguration} used to customize {@link RedisCache} behaviour, such as caching * {@literal null} values, computing cache key prefixes and handling binary serialization. - * + *

* Start with {@link RedisCacheConfiguration#defaultCacheConfig()} and customize {@link RedisCache} behaviour * from that point on. * @@ -344,9 +344,9 @@ public class RedisCacheConfiguration { /** * Registers default cache {@link Converter key converters}. - * + *

* The following converters get registered: - * + *

*