Scores should be represented as doubles, not ints

This commit is contained in:
Pat Shields
2010-08-30 05:22:13 +08:00
committed by Jonathan Leibiusky
parent 6a7b1db319
commit 366b2a05c2
2 changed files with 2 additions and 2 deletions

View File

@@ -697,7 +697,7 @@ public class Jedis {
return client.getIntegerReply();
}
public int zremrangeByScore(String key, int start, int end) {
public int zremrangeByScore(String key, double start, double end) {
checkIsInMulti();
client.zremrangeByScore(key, start, end);
return client.getIntegerReply();