Skip to content

Commit

Permalink
undo commented lines
Browse files Browse the repository at this point in the history
  • Loading branch information
sazzad16 committed Jan 17, 2024
1 parent 67f2c9a commit cfbac3f
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/main/java/redis/clients/jedis/UnifiedJedis.java
Original file line number Diff line number Diff line change
Expand Up @@ -242,10 +242,11 @@ public void close() {
IOUtils.closeQuietly(this.executor);
}

// protected final void setProtocol(RedisProtocol protocol) {
// this.protocol = protocol;
// this.commandObjects.setProtocol(this.protocol);
// }
@Deprecated
protected final void setProtocol(RedisProtocol protocol) {
this.protocol = protocol;
this.commandObjects.setProtocol(this.protocol);
}

public final <T> T executeCommand(CommandObject<T> commandObject) {
return executor.executeCommand(commandObject);
Expand Down

0 comments on commit cfbac3f

Please sign in to comment.