+ eliminated encoding method from Redis Connection (moving towards a byte[] interface)
This commit is contained in:
@@ -37,8 +37,6 @@ public interface RedisConnection extends RedisCommands {
|
||||
|
||||
Object getNativeConnection();
|
||||
|
||||
String getEncoding();
|
||||
|
||||
/**
|
||||
* Indicates whether the connection is in "queue"(or "MULTI") mode or not.
|
||||
* When queueing, all commands are postponed until EXEC or DISCARD commands
|
||||
|
||||
@@ -86,11 +86,6 @@ public class JedisConnection implements RedisConnection {
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getEncoding() {
|
||||
return "UTF-8";
|
||||
}
|
||||
|
||||
@Override
|
||||
public Jedis getNativeConnection() {
|
||||
return jedis;
|
||||
|
||||
@@ -55,11 +55,6 @@ public class JredisConnection implements RedisConnection {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getEncoding() {
|
||||
return encoding;
|
||||
}
|
||||
|
||||
@Override
|
||||
public JRedis getNativeConnection() {
|
||||
return jredis;
|
||||
|
||||
Reference in New Issue
Block a user