Skip to content

Commit e7a2dd1

Browse files
theHackerjxblum
authored andcommitted
Fix Javadoc in RedisCacheConfiguration.
The prefixCacheNameWith() method returns a new instance, not `this`. Closes #2539
1 parent 0067cab commit e7a2dd1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/springframework/data/redis/cache/RedisCacheConfiguration.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ public RedisCacheConfiguration entryTtl(Duration ttl) {
147147
* The generated cache key will be: {@code prefix + cache name + "::" + cache entry key}.
148148
*
149149
* @param prefix the prefix to prepend to the cache name.
150-
* @return this.
150+
* @return new {@link RedisCacheConfiguration}.
151151
* @see #computePrefixWith(CacheKeyPrefix)
152152
* @see CacheKeyPrefix#prefixed(String)
153153
* @since 2.3

0 commit comments

Comments
 (0)