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>.