java/com.sap.sailing.domain/src/com/sap/sailing/domain/leaderboard/ScoringScheme.java
... ...
@@ -335,8 +335,9 @@ public interface ScoringScheme extends Serializable {
335 335
}
336 336
337 337
/**
338
- * Compares by the number of races won in the medal series. This default implementation simply compares the two numbers, and
339
- * the competitor with the greater number is scored better ("less").
338
+ * Compares by the number of races won in the medal series. This default implementation simply compares the two
339
+ * numbers, and the competitor with the greater number is scored better ("less"). It is used if
340
+ * {@link #isMedalWinAmountCriteria()} returns {@code true} (which by default it doesn't).
340 341
*/
341 342
default int compareByMedalRacesWon(int numberOfMedalRacesWonO1, int numberOfMedalRacesWonO2) {
342 343
return Integer.compare(numberOfMedalRacesWonO2, numberOfMedalRacesWonO1);