File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/main/java/org/springframework/data/redis/connection/lettuce Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ public Mono<Void> pSubscribe(ByteBuffer... patterns) {
8989
9090 @ Override
9191 public Mono <Void > unsubscribe () {
92- return unsubscribe (channelState .getTargets ().toArray (new ByteBuffer [channelState . getTargets (). size () ]));
92+ return unsubscribe (channelState .getTargets ().toArray (new ByteBuffer [0 ]));
9393 }
9494
9595 @ Override
@@ -103,7 +103,7 @@ public Mono<Void> unsubscribe(ByteBuffer... channels) {
103103
104104 @ Override
105105 public Mono <Void > pUnsubscribe () {
106- return pUnsubscribe (patternState .getTargets ().toArray (new ByteBuffer [patternState . getTargets (). size () ]));
106+ return pUnsubscribe (patternState .getTargets ().toArray (new ByteBuffer [0 ]));
107107 }
108108
109109 @ Override
You can’t perform that action at this time.
0 commit comments