Skip to content

Commit 228648c

Browse files
Adds missing javadocs for has key
fixes gh-3049
1 parent b975572 commit 228648c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/springframework/data/redis/core/RedisOperations.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ <T> T execute(RedisScript<T> script, RedisSerializer<?> argsSerializer, RedisSer
178178
* Determine if given {@code key} exists.
179179
*
180180
* @param key must not be {@literal null}.
181-
* @return
181+
* @return {@literal true} if key exists. {@literal null} when used in pipeline / transaction.
182182
* @see <a href="https://redis.io/commands/exists">Redis Documentation: EXISTS</a>
183183
*/
184184
@Nullable

0 commit comments

Comments
 (0)