Skip to content

Commit c5879d3

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

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
@@ -167,7 +167,7 @@ public RedisCacheConfiguration prefixKeysWith(String prefix) {
167167
* The generated cache key will be: {@code prefix + cache name + "::" + cache entry key}.
168168
*
169169
* @param prefix the prefix to prepend to the cache name.
170-
* @return this.
170+
* @return new {@link RedisCacheConfiguration}.
171171
* @see #computePrefixWith(CacheKeyPrefix)
172172
* @see CacheKeyPrefix#prefixed(String)
173173
* @since 2.3

0 commit comments

Comments
 (0)