From b6eb9853e4a99ebaf680a9ea9fcbe6fa1986d2af Mon Sep 17 00:00:00 2001 From: Jim Martens Date: Sun, 30 Jul 2023 15:22:40 +0200 Subject: [PATCH] Removed unused code --- .../de/twomartens/wahlrecht/model/internal/Nomination.kt | 4 ---- 1 file changed, 4 deletions(-) diff --git a/module-server/src/main/kotlin/de/twomartens/wahlrecht/model/internal/Nomination.kt b/module-server/src/main/kotlin/de/twomartens/wahlrecht/model/internal/Nomination.kt index 873d4d2..cb92bab 100644 --- a/module-server/src/main/kotlin/de/twomartens/wahlrecht/model/internal/Nomination.kt +++ b/module-server/src/main/kotlin/de/twomartens/wahlrecht/model/internal/Nomination.kt @@ -27,10 +27,6 @@ data class Nomination(val id: NominationId, val supportVotesOnNomination: Boolea return positionToCandidate[position] } - fun getPosition(candidate: Candidate): Int { - return candidateToPosition[candidate]!! - } - fun supportsVotesOnNomination(): Boolean { return supportVotesOnNomination }