-
Notifications
You must be signed in to change notification settings - Fork 484
Open
Description
Describe the bug
BalanceRoundRobin代码问题
To Reproduce
for (int i = 0; i < sumWeight; i++) { for (int index = 0; i < length; i++) { if (weightList[index] > 0) { weightList[index] = weightList[index] - 1; nextSequence--; if (nextSequence == 0) { return entityList.get(index); } } } }
内层循环 for (int index = 0; i < length; i++) {...}
Metadata
Metadata
Assignees
Labels
No labels