Style refactor
This commit is contained in:
@@ -154,5 +154,4 @@ public interface BinaryJedisCommands {
|
|||||||
Long zremrangeByScore(byte[] key, double start, double end);
|
Long zremrangeByScore(byte[] key, double start, double end);
|
||||||
|
|
||||||
Long linsert(byte[] key, LIST_POSITION where, byte[] pivot, byte[] value);
|
Long linsert(byte[] key, LIST_POSITION where, byte[] pivot, byte[] value);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,8 +4,6 @@ import java.util.List;
|
|||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
|
|
||||||
import redis.clients.util.Slowlog;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Common interface for sharded and non-sharded Jedis
|
* Common interface for sharded and non-sharded Jedis
|
||||||
*/
|
*/
|
||||||
@@ -162,5 +160,4 @@ public interface JedisCommands {
|
|||||||
|
|
||||||
Long linsert(String key, Client.LIST_POSITION where, String pivot,
|
Long linsert(String key, Client.LIST_POSITION where, String pivot,
|
||||||
String value);
|
String value);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -13,8 +13,8 @@ public class Slowlog {
|
|||||||
public static List<Slowlog> from(List<Object> nestedMultiBulkReply){
|
public static List<Slowlog> from(List<Object> nestedMultiBulkReply){
|
||||||
List<Slowlog> logs = new ArrayList<Slowlog>(nestedMultiBulkReply.size());
|
List<Slowlog> logs = new ArrayList<Slowlog>(nestedMultiBulkReply.size());
|
||||||
for(Object obj : nestedMultiBulkReply){
|
for(Object obj : nestedMultiBulkReply){
|
||||||
List<Object> list = (List<Object>)obj;
|
List<Object> properties = (List<Object>)obj;
|
||||||
logs.add(new Slowlog(list));
|
logs.add(new Slowlog(properties));
|
||||||
}
|
}
|
||||||
|
|
||||||
return logs;
|
return logs;
|
||||||
|
|||||||
Reference in New Issue
Block a user