Skip to content

Commit

Permalink
Update WorkAloneRedisManager.java
Browse files Browse the repository at this point in the history
redis.clients.jedis.ScanResult.getStringCursor()Ljava/lang/String;
  • Loading branch information
xxgao authored Jul 3, 2020
1 parent a9b1a4b commit 626e3ed
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ public Set<byte[]> 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();
}
Expand Down

0 comments on commit 626e3ed

Please sign in to comment.