From 3595d6e39469fa436b876031638d96620850081b Mon Sep 17 00:00:00 2001 From: Nikita Koksharov Date: Tue, 8 Sep 2020 08:45:28 +0300 Subject: [PATCH] deprecated methods removed --- .../src/main/java/org/redisson/RedissonBuckets.java | 11 ----------- redisson/src/main/java/org/redisson/api/RBuckets.java | 6 ------ .../src/main/java/org/redisson/api/RBucketsAsync.java | 6 ------ 3 files changed, 23 deletions(-) diff --git a/redisson/src/main/java/org/redisson/RedissonBuckets.java b/redisson/src/main/java/org/redisson/RedissonBuckets.java index 39e8274b6..1174e8333 100644 --- a/redisson/src/main/java/org/redisson/RedissonBuckets.java +++ b/redisson/src/main/java/org/redisson/RedissonBuckets.java @@ -144,15 +144,4 @@ public class RedissonBuckets implements RBuckets { return commandExecutor.writeAsync(params.get(0).toString(), RedisCommands.MSET, params.toArray()); } - @Override - public RFuture deleteAsync(String... keys) { - RedissonKeys ks = new RedissonKeys(commandExecutor); - return ks.deleteAsync(keys); - } - - @Override - public long delete(String... keys) { - return commandExecutor.get(deleteAsync(keys)); - } - } diff --git a/redisson/src/main/java/org/redisson/api/RBuckets.java b/redisson/src/main/java/org/redisson/api/RBuckets.java index bfb437eb1..82fc0d538 100644 --- a/redisson/src/main/java/org/redisson/api/RBuckets.java +++ b/redisson/src/main/java/org/redisson/api/RBuckets.java @@ -52,10 +52,4 @@ public interface RBuckets extends RBucketsAsync { */ void set(Map buckets); - /* - * Use RKeys.delete method instead - */ - @Deprecated - long delete(String... keys); - } diff --git a/redisson/src/main/java/org/redisson/api/RBucketsAsync.java b/redisson/src/main/java/org/redisson/api/RBucketsAsync.java index f519c2706..1ef060f0c 100644 --- a/redisson/src/main/java/org/redisson/api/RBucketsAsync.java +++ b/redisson/src/main/java/org/redisson/api/RBucketsAsync.java @@ -53,10 +53,4 @@ public interface RBucketsAsync { */ RFuture setAsync(Map buckets); - /* - * Use RKeys.deleteAsync method instead - */ - @Deprecated - RFuture deleteAsync(String... keys); - }