You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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++) {...}
The text was updated successfully, but these errors were encountered:
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++) {...}
The text was updated successfully, but these errors were encountered: