Fix Javadoc in RedisCacheConfiguration.

The prefixCacheNameWith() method returns a new instance, not `this`.

Closes #2539
This commit is contained in:
Alexander Münch
2023-04-03 10:25:11 +02:00
committed by John Blum
parent 5a39b3564e
commit 6316609fbf

View File

@@ -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