hvals response type consistency, was Collection should have been List

This commit is contained in:
Jonathan Leibiusky
2011-05-15 21:59:00 -03:00
parent 6e0be01f6f
commit 20ee796fa8
2 changed files with 2 additions and 4 deletions

View File

@@ -1,6 +1,5 @@
package redis.clients.jedis;
import java.util.Collection;
import java.util.List;
import java.util.Map;
import java.util.Set;
@@ -189,7 +188,7 @@ public class ShardedJedis extends BinaryShardedJedis implements JedisCommands {
return j.hkeys(key);
}
public Collection<String> hvals(String key) {
public List<String> hvals(String key) {
Jedis j = getShard(key);
return j.hvals(key);
}