Skip to content

Commit ffcf608

Browse files
committed
fix: add parentheses around ternary operator
1 parent 5ca3732 commit ffcf608

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/pedropathing/telemetry/Folder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public List<String> getLines() {
3434
String listName;
3535
if (child instanceof Item) listName = child.name;
3636
else listName = child.name + " [...]";
37-
lines.add(i == selectedIndex ? "> " : " " + listName);
37+
lines.add((i == selectedIndex ? "> " : " ") + listName);
3838
}
3939
return lines;
4040
}

0 commit comments

Comments
 (0)