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

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

View File

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