From 626e3ed536ff66c86277f625c8b0a695564181e2 Mon Sep 17 00:00:00 2001 From: xxgao <77874048@163.com> Date: Fri, 3 Jul 2020 10:17:22 +0800 Subject: [PATCH] Update WorkAloneRedisManager.java redis.clients.jedis.ScanResult.getStringCursor()Ljava/lang/String; --- src/main/java/org/crazycake/shiro/WorkAloneRedisManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/crazycake/shiro/WorkAloneRedisManager.java b/src/main/java/org/crazycake/shiro/WorkAloneRedisManager.java index 127ef4a0d..0f84aff02 100644 --- a/src/main/java/org/crazycake/shiro/WorkAloneRedisManager.java +++ b/src/main/java/org/crazycake/shiro/WorkAloneRedisManager.java @@ -146,7 +146,7 @@ public Set keys(byte[] pattern) { scanResult = jedis.scan(cursor, params); keys.addAll(scanResult.getResult()); cursor = scanResult.getCursorAsBytes(); - } while (scanResult.getStringCursor().compareTo(ScanParams.SCAN_POINTER_START) > 0); + } while (scanResult.getCursor().compareTo(ScanParams.SCAN_POINTER_START) > 0); } finally { jedis.close(); }