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 aedaf651b5
commit c5879d34cc

View File

@@ -167,7 +167,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