Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: M Sazzadul Hoque <7600764+sazzad16@users.noreply.github.com>
  • Loading branch information
yangbodong22011 and sazzad16 committed Apr 6, 2023
1 parent 94166b8 commit c503aff
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/main/java/redis/clients/jedis/Jedis.java
Original file line number Diff line number Diff line change
Expand Up @@ -412,8 +412,8 @@ public String flushAll(FlushMode flushMode) {

/**
* Ask the server to silently close the connection.
* @deprecated The quit command is deprecated and disconnect is recommended, see
* <a href="https://github.com/redis/redis/issues/11420">#11420</a>
* @deprecated The QUIT command is deprecated, see <a href="https://github.com/redis/redis/issues/11420">#11420</a>.
* {@link Jedis#disconnect()} can be used instead.
*/
@Override
@Deprecated
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ public interface ServerCommands {
* Ask the server to close the connection. The connection is closed as soon as all pending replies
* have been written to the client.
* @return OK
* @deprecated The quit command is deprecated and disconnect is recommended, see
* <a href="https://github.com/redis/redis/issues/11420">#11420</a>
* @deprecated The QUIT command is deprecated, see <a href="https://github.com/redis/redis/issues/11420">#11420</a>.
* If available, {@code disconnect()} method in the concerned class can be used instead.
*/
@Deprecated
String quit();
Expand Down

0 comments on commit c503aff

Please sign in to comment.