mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-11 23:00:59 +00:00
Merge remote-tracking branch 'origin/master' into newhome
This commit is contained in:
commit
3e58ee89d3
1 file changed
+20
+20
@@ -0,0 +1,20 @@
|
||||
package com.sap.sailing.domain.leaderboard.impl;
|
||||
|
||||
import com.sap.sailing.domain.common.ScoringSchemeType;
|
||||
|
||||
public class HighPointWinnerGetsFiveIgnoringRaceCount extends HighPointWinnerGetsFive {
|
||||
private static final long serialVersionUID = 3936338558024129174L;
|
||||
|
||||
/**
|
||||
* Ignores the number of races scored, making the simple total points the first ranking criterion.
|
||||
*/
|
||||
@Override
|
||||
public int compareByNumberOfRacesScored(int competitor1NumberOfRacesScored, int competitor2NumberOfRacesScored) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
public ScoringSchemeType getType() {
|
||||
return ScoringSchemeType.HIGH_POINT_WINNER_GETS_FIVE_IGNORING_RACE_COUNT;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user