Skip to content

Commit

Permalink
Replace Command with ProtocolCommand for missing methods
Browse files Browse the repository at this point in the history
  • Loading branch information
marcosnils authored and xetorthio committed Apr 28, 2015
1 parent 8f537b3 commit f9c6b88
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/redis/clients/jedis/Connection.java
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public void rollbackTimeout() {
}
}

protected Connection sendCommand(final Command cmd, final String... args) {
protected Connection sendCommand(final ProtocolCommand cmd, final String... args) {
final byte[][] bargs = new byte[args.length][];
for (int i = 0; i < args.length; i++) {
bargs[i] = SafeEncoder.encode(args[i]);
Expand All @@ -102,7 +102,7 @@ protected Connection sendCommand(final ProtocolCommand cmd, final byte[]... args
}
}

protected Connection sendCommand(final Command cmd) {
protected Connection sendCommand(final ProtocolCommand cmd) {
try {
connect();
Protocol.sendCommand(outputStream, cmd, new byte[0][]);
Expand Down

0 comments on commit f9c6b88

Please sign in to comment.