Change zadd parameter order to allow duplicated scoremembers but not members

This commit is contained in:
Marcos Nils
2014-01-26 13:53:34 -03:00
parent 51f103af16
commit b05d9adfb0
12 changed files with 66 additions and 63 deletions

View File

@@ -1502,7 +1502,7 @@ public class BinaryJedis implements BasicCommands, BinaryJedisCommands, MultiKey
return client.getIntegerReply();
}
public Long zadd(final byte[] key, final Map<Double, byte[]> scoreMembers) {
public Long zadd(final byte[] key, final Map<byte[], Double> scoreMembers) {
checkIsInMulti();
client.zaddBinary(key, scoreMembers);
return client.getIntegerReply();