diff --git a/src/main/java/redis/clients/jedis/BinaryJedis.java b/src/main/java/redis/clients/jedis/BinaryJedis.java index ad66b29ea7..939cf1de54 100644 --- a/src/main/java/redis/clients/jedis/BinaryJedis.java +++ b/src/main/java/redis/clients/jedis/BinaryJedis.java @@ -563,7 +563,7 @@ public Long msetnx(final byte[]... keysvalues) { } /** - * DECRRBY work just like {@link #decr(byte[]) INCR} but instead to + * DECRBY work just like {@link #decr(byte[]) INCR} but instead to * decrement by 1 the decrement is integer. *

* INCR commands are limited to 64 bit signed integers. @@ -2126,11 +2126,18 @@ public List brpop(final int timeout, final byte[]... keys) { return brpop(getArgsAddTimeout(timeout, keys)); } + + /** + * @deprecated unusable command, this command will be removed in 3.0.0. + */ @Deprecated public List blpop(byte[] arg) { return blpop(new byte[][]{arg}); } + /** + * @deprecated unusable command, this command will be removed in 3.0.0. + */ @Deprecated public List brpop(byte[] arg) { return brpop(new byte[][]{arg}); diff --git a/src/main/java/redis/clients/jedis/BinaryJedisCommands.java b/src/main/java/redis/clients/jedis/BinaryJedisCommands.java index 2c1f4444d0..bfc4ac9558 100644 --- a/src/main/java/redis/clients/jedis/BinaryJedisCommands.java +++ b/src/main/java/redis/clients/jedis/BinaryJedisCommands.java @@ -215,13 +215,14 @@ Long linsert(byte[] key, Client.LIST_POSITION where, byte[] pivot, /** - * @deprecated This command has no meaning. + * @deprecated unusable command, this command will be removed in 3.0.0. */ @Deprecated List blpop(byte[] arg); + /** - * @deprecated This command has no meaning. + * @deprecated unusable command, this command will be removed in 3.0.0. */ @Deprecated List brpop(byte[] arg); diff --git a/src/main/java/redis/clients/jedis/Jedis.java b/src/main/java/redis/clients/jedis/Jedis.java index a5175d112c..9c8caab605 100644 --- a/src/main/java/redis/clients/jedis/Jedis.java +++ b/src/main/java/redis/clients/jedis/Jedis.java @@ -1882,7 +1882,7 @@ public List brpop(String... args) { } /** - * @deprecated unusable command + * @deprecated unusable command, this command will be removed in 3.0.0. */ @Deprecated public List blpop(String arg) { @@ -1890,7 +1890,7 @@ public List blpop(String arg) { } /** - * @deprecated unusable command + * @deprecated unusable command, this command will be removed in 3.0.0. */ @Deprecated public List brpop(String arg) { diff --git a/src/main/java/redis/clients/jedis/JedisCommands.java b/src/main/java/redis/clients/jedis/JedisCommands.java index 842c9540e3..fb78da0340 100644 --- a/src/main/java/redis/clients/jedis/JedisCommands.java +++ b/src/main/java/redis/clients/jedis/JedisCommands.java @@ -211,7 +211,7 @@ Long linsert(String key, Client.LIST_POSITION where, String pivot, Long rpushx(String key, String... string); /** - * @deprecated unusable command + * @deprecated unusable command, this will be removed in 3.0.0. */ @Deprecated List blpop(String arg); @@ -219,7 +219,7 @@ Long linsert(String key, Client.LIST_POSITION where, String pivot, List blpop(int timeout, String key); /** - * @deprecated unusable command + * @deprecated unusable command, this will be removed in 3.0.0. */ @Deprecated List brpop(String arg);