This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository pollen. See http://git.chorem.org/pollen.git commit 84eefe667a281c99483bc50d261c21eda713ace4 Author: Adrien Garandel <a.garandel@dralagen.fr> Date: Mon Jul 28 17:00:35 2014 +0200 delete number negatif in voteCounting percentage --- .../java/org/chorem/pollen/votecounting/PercentageVoteCounting.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pollen-votecounting-percentage/src/main/java/org/chorem/pollen/votecounting/PercentageVoteCounting.java b/pollen-votecounting-percentage/src/main/java/org/chorem/pollen/votecounting/PercentageVoteCounting.java index b9a1758..5ad1a91 100644 --- a/pollen-votecounting-percentage/src/main/java/org/chorem/pollen/votecounting/PercentageVoteCounting.java +++ b/pollen-votecounting-percentage/src/main/java/org/chorem/pollen/votecounting/PercentageVoteCounting.java @@ -72,8 +72,7 @@ public class PercentageVoteCounting extends AbstractVoteCounting<PercentageVoteC @Override public boolean isVoteValueValid(Double voteValue) { - // no validation on not null vote value - return true; + return voteValue == null || 0 <= voteValue && voteValue <= 100; } @Override -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.