quick fixes : enhanced for loop

This commit is contained in:
Alexdoru authored and Jason Mitchell committed 2023-01-28 18:02:41 -08:00
1 parent 59f3b5b72a
commit 83f54f1e97
33 files changed
+74 -96

No files matched your search

@@ -47,9 +47,7 @@ public class TabRegistry {
public static void updateTabValues(int cornerX, int cornerY, Class<?> selectedButton) {
int count = 2;
for (int i = 0; i < tabList.size(); i++) {
AbstractTab t = tabList.get(i);
for (AbstractTab t : tabList) {
if (t.shouldAddToList()) {
t.id = count;
t.xPosition = cornerX + (count - 2) * 28;