Merge remote-tracking branch 'origin/master' into newhome

This commit is contained in:
fmittag committed 2014-07-21 19:26:08 +02:00
commit 3e58ee89d3
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;
}
}