From 6316609fbf87de4e44fa051eccdb4fdc52befa09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20M=C3=BCnch?= Date: Mon, 3 Apr 2023 10:25:11 +0200 Subject: [PATCH] Fix Javadoc in RedisCacheConfiguration. The prefixCacheNameWith() method returns a new instance, not `this`. Closes #2539 --- .../data/redis/cache/RedisCacheConfiguration.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 faee681bf..582b15aba 100644 --- a/src/main/java/org/springframework/data/redis/cache/RedisCacheConfiguration.java +++ b/src/main/java/org/springframework/data/redis/cache/RedisCacheConfiguration.java @@ -147,7 +147,7 @@ public class RedisCacheConfiguration { * The generated cache key will be: {@code prefix + cache name + "::" + cache entry key}. * * @param prefix the prefix to prepend to the cache name. - * @return this. + * @return new {@link RedisCacheConfiguration}. * @see #computePrefixWith(CacheKeyPrefix) * @see CacheKeyPrefix#prefixed(String) * @since 2.3