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 @@ -101,7 +101,7 @@ public Mono<Void> pSubscribe(ByteBuffer... patterns) {
101
101
*/
102
102
@ Override
103
103
public Mono <Void > unsubscribe () {
104
- return unsubscribe (channelState .getTargets ().toArray (new ByteBuffer [channelState . getTargets (). size () ]));
104
+ return unsubscribe (channelState .getTargets ().toArray (new ByteBuffer [0 ]));
105
105
}
106
106
107
107
/*
@@ -123,7 +123,7 @@ public Mono<Void> unsubscribe(ByteBuffer... channels) {
123
123
*/
124
124
@ Override
125
125
public Mono <Void > pUnsubscribe () {
126
- return pUnsubscribe (patternState .getTargets ().toArray (new ByteBuffer [patternState . getTargets (). size () ]));
126
+ return pUnsubscribe (patternState .getTargets ().toArray (new ByteBuffer [0 ]));
127
127
}
128
128
129
129
/*
You can’t perform that action at this time.
0 commit comments