Skip to content

Commit 3b54cfc

Browse files
committed
fix(broker): DefaultWithElementSelector
1 parent 5698a8c commit 3b54cfc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

net-bolt/bolt-broker-server/src/main/java/com/iohao/game/bolt/broker/server/balanced/region/DefaultWithElementSelector.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public BrokerClientProxy next(int withNo) {
8181
}
8282

8383
var withList = this.map.get(withNo);
84-
if (CollKit.isEmpty(withList)) {
84+
if (CollKit.notEmpty(withList)) {
8585
var brokerClientProxy = withList.get((int) (counter.getAndIncrement() % withList.size()));
8686
if (Objects.nonNull(brokerClientProxy)) {
8787
return brokerClientProxy;

0 commit comments

Comments
 (0)