[pollen] branch develop updated (297c9b9 -> 96c26b4)
This is an automated email from the git hooks/post-receive script. New change to branch develop in repository pollen. See http://git.chorem.org/pollen.git from 297c9b9 fix test new 96c26b4 add mainResult for group vote counting result 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 96c26b4043f3fd6290621c0666db43e20c3d2ea5 Author: Adrien Garandel <a.garandel@dralagen.fr> Date: Thu Aug 14 18:00:10 2014 +0200 add mainResult for group vote counting result Summary of changes: .../services/bean/GroupVoteCountingResultBean.java | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) -- 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 develop in repository pollen. See http://git.chorem.org/pollen.git commit 96c26b4043f3fd6290621c0666db43e20c3d2ea5 Author: Adrien Garandel <a.garandel@dralagen.fr> Date: Thu Aug 14 18:00:10 2014 +0200 add mainResult for group vote counting result --- .../services/bean/GroupVoteCountingResultBean.java | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/pollen-services/src/main/java/org/chorem/pollen/services/bean/GroupVoteCountingResultBean.java b/pollen-services/src/main/java/org/chorem/pollen/services/bean/GroupVoteCountingResultBean.java index 0a91df6..c17e88e 100644 --- a/pollen-services/src/main/java/org/chorem/pollen/services/bean/GroupVoteCountingResultBean.java +++ b/pollen-services/src/main/java/org/chorem/pollen/services/bean/GroupVoteCountingResultBean.java @@ -21,7 +21,12 @@ package org.chorem.pollen.services.bean; * #L% */ +import org.chorem.pollen.votecounting.model.GroupOfVoter; import org.chorem.pollen.votecounting.model.GroupVoteCountingResult; +import org.chorem.pollen.votecounting.model.VoteCountingResult; + +import java.util.HashMap; +import java.util.Map; /** * //FIXME @@ -32,15 +37,23 @@ import org.chorem.pollen.votecounting.model.GroupVoteCountingResult; */ public class GroupVoteCountingResultBean { + protected VoteCountingResultBean mainResult; public void fromResult(GroupVoteCountingResult result) { - //FIXME + setMainResult(result.getMainResult()); + + //TODO dralagen 14/08/14 : Add group Result + + } + private void setMainResult(VoteCountingResult mainResult) { + this.mainResult = new VoteCountingResultBean(); + this.mainResult.fromResult(mainResult); } public VoteCountingResultBean getMainResult() { - return null; + return mainResult; } } -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.
participants (1)
-
chorem.org scm