From 3ebf7c024c39a51cba6d98e85f5f2b35e69528bb Mon Sep 17 00:00:00 2001 From: Claude Brisson Date: Mon, 2 Oct 2023 04:14:12 +0200 Subject: [PATCH] Fix another comment --- .../main/kotlin/org/jeudego/pairgoth/pairing/HistoryHelper.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api-webapp/src/main/kotlin/org/jeudego/pairgoth/pairing/HistoryHelper.kt b/api-webapp/src/main/kotlin/org/jeudego/pairgoth/pairing/HistoryHelper.kt index f0949d1..516e4a0 100644 --- a/api-webapp/src/main/kotlin/org/jeudego/pairgoth/pairing/HistoryHelper.kt +++ b/api-webapp/src/main/kotlin/org/jeudego/pairgoth/pairing/HistoryHelper.kt @@ -32,7 +32,7 @@ open class HistoryHelper(protected val history: List>, scoresGetter: }).toSet() } - // Returns the number of games played as white + // Returns the number of games played as white minus the number of games played as black // Only count games without handicap private val colorBalance: Map by lazy { history.flatten().filter { game ->