mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-04 03:13:49 +00:00
fixed bug 1091 by fixing the comparison direction in getWins()
This commit is contained in:
1 parent
b01809ff25
commit
c4702d5663
1 file changed
+1
-1
+1
-1
@@ -47,7 +47,7 @@ public class HighPointExtremeSailingSeriesOverall extends HighPoint {
|
||||
assert o1Scores.size() == o2Scores.size();
|
||||
int o1Wins = getWins(o1Scores);
|
||||
int o2Wins = getWins(o2Scores);
|
||||
int result = o1Wins - o2Wins;
|
||||
int result = o2Wins - o1Wins;
|
||||
if (result == 0 && o1Scores.size() >= 1 && o2Scores.size() >= 1) {
|
||||
result = o1Scores.get(o1Scores.size()-1).getB().compareTo(o2Scores.get(o2Scores.size()-1).getB());
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user