Author: tchemit Date: 2012-06-26 08:56:12 +0200 (Tue, 26 Jun 2012) New Revision: 3569 Url: http://chorem.org/repositories/revision/pollen/3569 Log: move constant Modified: trunk/pollen-votecounting-api/src/main/java/org/chorem/pollen/votecounting/strategy/AbstractVoteCountingStrategy.java Modified: trunk/pollen-votecounting-api/src/main/java/org/chorem/pollen/votecounting/strategy/AbstractVoteCountingStrategy.java =================================================================== --- trunk/pollen-votecounting-api/src/main/java/org/chorem/pollen/votecounting/strategy/AbstractVoteCountingStrategy.java 2012-06-26 06:55:58 UTC (rev 3568) +++ trunk/pollen-votecounting-api/src/main/java/org/chorem/pollen/votecounting/strategy/AbstractVoteCountingStrategy.java 2012-06-26 06:56:12 UTC (rev 3569) @@ -33,6 +33,7 @@ import org.chorem.pollen.votecounting.model.Voter; import java.io.Serializable; +import java.math.BigDecimal; import java.util.Collection; import java.util.Collections; import java.util.Comparator; @@ -52,6 +53,8 @@ */ public abstract class AbstractVoteCountingStrategy implements VoteCountingStrategy { + public static final BigDecimal ZERO_D = BigDecimal.valueOf(0.); + @Override public String getStrategyName(Locale locale) { String result = l_(locale, getI18nName());