mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-11-08 20:12:23 +00:00
revert: removal of results with rank 0
This commit is contained in:
1 parent
23849e47a5
commit
bcedc35fc7
1 file changed
+1
-6
+1
-6
@@ -54,12 +54,7 @@ public class AbstractFinishPositioningListFinder extends RaceLogAnalyzer<Competi
|
||||
}
|
||||
}
|
||||
final CompetitorResultsImpl result = new CompetitorResultsImpl();
|
||||
//Remove all results with rank 0
|
||||
for (Map.Entry<Serializable, CompetitorResult> entry : resultsByCompetitor.entrySet()) {
|
||||
if (entry.getValue().getOneBasedRank() > 0) {
|
||||
result.add(entry.getValue());
|
||||
}
|
||||
}
|
||||
result.addAll(resultsByCompetitor.values());
|
||||
return resultFound ? result : null;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user