Refactor for to foreach

This commit is contained in:
Yury committed 2022-04-30 20:34:13 +03:00
1 parent 9205f6cab7
commit 17f74c693c
15 files changed
+74 -84

No files matched your search

@@ -64,8 +64,9 @@ public class SkeletonList extends EJBagNoStretch {
return;
lastUpdate = System.currentTimeMillis();
java.awt.EventQueue.invokeLater(() -> {
for (int i = 0; i < nodes.size(); ++i)
nodes.get(i).update();
for (NodeStatus node : nodes) {
node.update();
}
});
}