This is an automated email from the git hooks/post-receive script. New change to branch feature/188_mauvais_depouillement_coombs in repository pollen. See https://gitlab.nuiton.org/chorem/pollen.git from d1ae69ff refs #188 [Coombs] Ajout d'un test pour valider que la majorité l'emporte bien sans générer de tour superflu new 97c951b4 correction du tri du décompt des voies The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Detailed log of new commits: commit 97c951b4ea3570a09c120395f9ac9f7e9ea9d484 Author: Sylvain Bavencoff <bavencoff@codelutin.com> Date: Mon Jan 8 14:51:31 2018 +0100 correction du tri du décompt des voies Summary of changes: .../java/org/chorem/pollen/votecounting/CoombsVoteCountingStrategy.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.
This is an automated email from the git hooks/post-receive script. New commit to branch feature/188_mauvais_depouillement_coombs in repository pollen. See https://gitlab.nuiton.org/chorem/pollen.git commit 97c951b4ea3570a09c120395f9ac9f7e9ea9d484 Author: Sylvain Bavencoff <bavencoff@codelutin.com> Date: Mon Jan 8 14:51:31 2018 +0100 correction du tri du décompt des voies --- .../java/org/chorem/pollen/votecounting/CoombsVoteCountingStrategy.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pollen-votecounting-coombs/src/main/java/org/chorem/pollen/votecounting/CoombsVoteCountingStrategy.java b/pollen-votecounting-coombs/src/main/java/org/chorem/pollen/votecounting/CoombsVoteCountingStrategy.java index 2048d8e7..15758598 100644 --- a/pollen-votecounting-coombs/src/main/java/org/chorem/pollen/votecounting/CoombsVoteCountingStrategy.java +++ b/pollen-votecounting-coombs/src/main/java/org/chorem/pollen/votecounting/CoombsVoteCountingStrategy.java @@ -198,7 +198,7 @@ public class CoombsVoteCountingStrategy extends AbstractVoteCountingStrategy<Emp results.add(resultByChoice.get(id)); } - results.sort(Comparator.comparing(ChoiceScore::getScoreValue, Comparator.nullsLast(Comparator.naturalOrder()))); + results.sort(Comparator.comparing(ChoiceScore::getScoreValue, Comparator.nullsFirst(Comparator.naturalOrder()))); // on supprime tout score à 0 Iterator<ChoiceScore> itr = results.iterator(); -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.
participants (1)
-
chorem.org scm