mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-09-26 23:46:36 +00:00
formatting / whitespace change only
This commit is contained in:
+1
-3
@@ -1117,14 +1117,12 @@ public class SailingServiceImpl extends RemoteServiceServlet implements SailingS
|
||||
LeaderboardDTO dao = createStrippedLeaderboardDTO(leaderboard, false);
|
||||
results.add(dao);
|
||||
}
|
||||
|
||||
return results;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<LeaderboardDTO> getLeaderboardsByEvent(EventDTO event) {
|
||||
List<LeaderboardDTO> results = new ArrayList<LeaderboardDTO>();
|
||||
|
||||
for (RegattaDTO regatta : event.regattas) {
|
||||
for (RaceDTO race : regatta.races) {
|
||||
List<LeaderboardDTO> leaderboard = getLeaderboardsByRace(race);
|
||||
@@ -1133,7 +1131,7 @@ public class SailingServiceImpl extends RemoteServiceServlet implements SailingS
|
||||
}
|
||||
}
|
||||
}
|
||||
//Removing duplicates
|
||||
// Removing duplicates
|
||||
HashSet<LeaderboardDTO> set = new HashSet<LeaderboardDTO>(results);
|
||||
results.clear();
|
||||
results.addAll(set);
|
||||
|
||||
Reference in New Issue
Block a user