+ minor bug fix in redis zset
This commit is contained in:
@@ -200,10 +200,10 @@ class DefaultRedisZSet<E> extends AbstractRedisCollection<E> implements RedisZSe
|
||||
}
|
||||
|
||||
private String[] extractKeys(RedisZSet<E>... sets) {
|
||||
String[] keys = new String[sets.length + 1];
|
||||
String[] keys = new String[sets.length];
|
||||
keys[0] = key;
|
||||
for (int i = 0; i < keys.length; i++) {
|
||||
keys[i + 1] = sets[i].getKey();
|
||||
keys[i] = sets[i].getKey();
|
||||
}
|
||||
|
||||
return keys;
|
||||
|
||||
Reference in New Issue
Block a user