Skip to content

Commit f9c6b88

Browse files
marcosnilsxetorthio
authored andcommitted
Replace Command with ProtocolCommand for missing methods
1 parent 8f537b3 commit f9c6b88

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/redis/clients/jedis/Connection.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public void rollbackTimeout() {
8181
}
8282
}
8383

84-
protected Connection sendCommand(final Command cmd, final String... args) {
84+
protected Connection sendCommand(final ProtocolCommand cmd, final String... args) {
8585
final byte[][] bargs = new byte[args.length][];
8686
for (int i = 0; i < args.length; i++) {
8787
bargs[i] = SafeEncoder.encode(args[i]);
@@ -102,7 +102,7 @@ protected Connection sendCommand(final ProtocolCommand cmd, final byte[]... args
102102
}
103103
}
104104

105-
protected Connection sendCommand(final Command cmd) {
105+
protected Connection sendCommand(final ProtocolCommand cmd) {
106106
try {
107107
connect();
108108
Protocol.sendCommand(outputStream, cmd, new byte[0][]);

0 commit comments

Comments
 (0)