update ruoyi-common/ruoyi-common-redis/src/main/java/org/dromara/common/redis/utils/RedisUtils.java.

fix: 变量名修改stream->keysStream

Signed-off-by: Lucien_Lu <lushangpeng@hotmail.com>
This commit is contained in:
Lucien_Lu 2024-10-27 11:05:57 +00:00 committed by Gitee
parent 4d7ce8fd11
commit 9b8f4688d3
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -545,8 +545,8 @@ public class RedisUtils {
* @see KeysScanOptions * @see KeysScanOptions
*/ */
public static Collection<String> keys(final KeysScanOptions KeysScanOptions) { public static Collection<String> keys(final KeysScanOptions KeysScanOptions) {
Stream<String> stream = CLIENT.getKeys().getKeysStream(KeysScanOptions); Stream<String> keysStream = CLIENT.getKeys().getKeysStream(KeysScanOptions);
return stream.collect(Collectors.toList()); return keysStream.collect(Collectors.toList());
} }
/** /**