added missing scoring scheme class to git

This commit is contained in:
Axel Uhl committed 2014-07-21 17:48:52 +02:00
1 parent 2dad273c4f
commit 68855813f4
1 file changed
+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;
}
}