revert: removal of results with rank 0

This commit is contained in:
Robert Benedikt committed 2020-02-18 12:52:37 +01:00
1 parent 23849e47a5
commit bcedc35fc7
1 file changed
+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;
}
}