From 84871d4cfb7b85d4a5ac7a17003be4c4e867b8a7 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子Li <15040126243@163.com> Date: 星期二, 07 三月 2023 22:25:14 +0800 Subject: [PATCH] fix 修复 加解密拦截器null问题 --- ruoyi-common/ruoyi-common-redis/src/main/java/com/ruoyi/common/redis/utils/RedisUtils.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/ruoyi-common/ruoyi-common-redis/src/main/java/com/ruoyi/common/redis/utils/RedisUtils.java b/ruoyi-common/ruoyi-common-redis/src/main/java/com/ruoyi/common/redis/utils/RedisUtils.java index 79ea3b8..b665160 100644 --- a/ruoyi-common/ruoyi-common-redis/src/main/java/com/ruoyi/common/redis/utils/RedisUtils.java +++ b/ruoyi-common/ruoyi-common-redis/src/main/java/com/ruoyi/common/redis/utils/RedisUtils.java @@ -438,7 +438,7 @@ */ public static Collection<String> keys(final String pattern) { Stream<String> stream = CLIENT.getKeys().getKeysStreamByPattern(pattern); - return stream.toList(); + return stream.collect(Collectors.toList()); } /** -- Gitblit v1.9.3