mirror of
https://github.com/SlimeVR/SlimeVR-Server.git
synced 2026-11-24 02:51:20 -08:00
Refactor for to foreach
This commit is contained in:
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();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user