incr/decr operate on 64-bit numbers. Switching from Integer to Long

This commit is contained in:
Neil Gentleman
2010-11-23 16:52:18 -08:00
committed by Jonathan Leibiusky
parent a1815f3881
commit d18cc4bd13
20 changed files with 397 additions and 379 deletions

View File

@@ -77,7 +77,7 @@ public class ProtocolTest extends JedisTestBase {
public void integerReply() {
InputStream is = new ByteArrayInputStream(":123\r\n".getBytes());
Protocol protocol = new Protocol();
int response = (Integer) protocol.read(new RedisInputStream(is));
long response = (Long) protocol.read(new RedisInputStream(is));
assertEquals(123, response);
}