From f8d8c5b7da91cd600cd77c358c25bf08b0ccd992 Mon Sep 17 00:00:00 2001 From: domi41 Date: Fri, 14 May 2021 18:32:38 +0200 Subject: [PATCH] refacto: update the doc as well --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d386a36..681237e 100644 --- a/README.md +++ b/README.md @@ -77,10 +77,10 @@ TallyInterface tally = new TallyWithDefaultGrade(new ProposalTallyInterface[] { In some polls with a very high amount of proposals, where participants cannot be expected to judge every last one of them, it may make sense to normalize the tallies instead of using a default grade. -To that effect, use a `TallyNormalized` instead of a `Tally`. +To that effect, use a `NormalizedTally` instead of a `Tally`. ```java -TallyInterface tally = new TallyNormalized(new ProposalTallyInterface[] { +TallyInterface tally = new NormalizedTally(new ProposalTallyInterface[] { // Amounts of judgments received of each grade, from "worst" grade to "best" grade new ProposalTally(new Integer[]{4, 5, 2, 1, 3, 1, 2}), // Proposal A new ProposalTally(new Integer[]{3, 6, 2, 1, 3, 1, 2}), // Proposal B