incr/decr operate on 64-bit numbers. Switching from Integer to Long
This commit is contained in:
committed by
Jonathan Leibiusky
parent
a1815f3881
commit
d18cc4bd13
@@ -100,9 +100,9 @@ public final class Protocol {
|
||||
return read;
|
||||
}
|
||||
|
||||
private Integer processInteger(final RedisInputStream is) {
|
||||
private Long processInteger(final RedisInputStream is) {
|
||||
String num = is.readLine();
|
||||
return Integer.valueOf(num);
|
||||
return Long.valueOf(num);
|
||||
}
|
||||
|
||||
private List<Object> processMultiBulkReply(final RedisInputStream is) {
|
||||
|
||||
Reference in New Issue
Block a user