comment format change only

This commit is contained in:
Axel Uhl committed 2015-02-05 18:27:30 +01:00
1 parent a2b8813aab
commit dd4b167889
1 file changed
+2 -4
@@ -2336,10 +2336,8 @@ public class LeaderboardPanel extends SimplePanel implements TimeListener, PlayS
Column<LeaderboardRowDTO, ?> c = getLeaderboardTable().getColumn(i); Column<LeaderboardRowDTO, ?> c = getLeaderboardTable().getColumn(i);
if (c instanceof RaceColumn<?>) { if (c instanceof RaceColumn<?>) {
RaceColumn<?> rc = (RaceColumn<?>) c; RaceColumn<?> rc = (RaceColumn<?>) c;
// If the new leaderboard no longer contains the column, getLegCount will return -1, causing the // If the new leaderboard no longer contains the column, getLegCount will return -1, causing the column
// column // to be collapsed if it was expanded. This is correct because otherwise, removing it would no longer
// to be collapsed if it was expanded. This is correct because otherwise, removing it would no
// longer
// know the correct leg count. // know the correct leg count.
if (!rc.isTogglingInProcess() && rc.isExpanded()) { if (!rc.isTogglingInProcess() && rc.isExpanded()) {
int oldLegCount = getLeaderboard().getLegCount(rc.getRaceColumnName(), preSelectedRace); int oldLegCount = getLeaderboard().getLegCount(rc.getRaceColumnName(), preSelectedRace);