Optimized Int.forEach
This commit is contained in:
parent
f88fd10a0d
commit
bae095c0fa
|
@ -68,7 +68,7 @@ internal class RmiResponseManager(private val logger: KLogger, private val actio
|
||||||
ids.shuffle()
|
ids.shuffle()
|
||||||
|
|
||||||
// populate the array of randomly assigned ID's + waiters.
|
// populate the array of randomly assigned ID's + waiters.
|
||||||
ids.forEach {
|
for (it in ids) {
|
||||||
rmiWaiterCache.offer(RmiWaiter(it))
|
rmiWaiterCache.offer(RmiWaiter(it))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user