setbit and getbit receive long offset in BinaryJedis

This commit is contained in:
Jonathan Leibiusky
2011-01-20 15:08:24 -03:00
parent 66fc6be729
commit b243d107e9

View File

@@ -2909,7 +2909,7 @@ public class BinaryJedis implements BinaryJedisCommands {
* @param value
* @return
*/
public Long setbit(byte[] key, int offset, byte[] value) {
public Long setbit(byte[] key, long offset, byte[] value) {
client.setbit(key, offset, value);
return client.getIntegerReply();
}
@@ -2921,7 +2921,7 @@ public class BinaryJedis implements BinaryJedisCommands {
* @param offset
* @return
*/
public Long getbit(byte[] key, int offset) {
public Long getbit(byte[] key, long offset) {
client.getbit(key, offset);
return client.getIntegerReply();
}