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) {
89
89
90
90
@ Override
91
91
public Mono <Void > unsubscribe () {
92
- return unsubscribe (channelState .getTargets ().toArray (new ByteBuffer [channelState . getTargets (). size () ]));
92
+ return unsubscribe (channelState .getTargets ().toArray (new ByteBuffer [0 ]));
93
93
}
94
94
95
95
@ Override
@@ -103,7 +103,7 @@ public Mono<Void> unsubscribe(ByteBuffer... channels) {
103
103
104
104
@ Override
105
105
public Mono <Void > pUnsubscribe () {
106
- return pUnsubscribe (patternState .getTargets ().toArray (new ByteBuffer [patternState . getTargets (). size () ]));
106
+ return pUnsubscribe (patternState .getTargets ().toArray (new ByteBuffer [0 ]));
107
107
}
108
108
109
109
@ Override
You can’t perform that action at this time.
0 commit comments