Subversion Repositories eFlore/Applications.del

Rev

Rev 227 | Rev 297 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 227 Rev 229
Line 36... Line 36...
36
	public static MoyenneVote calculerVoteDetermination(PropositionDetermination propositionDetermination) {
36
	public static MoyenneVote calculerVoteDetermination(PropositionDetermination propositionDetermination) {
Line 37... Line 37...
37
		
37
		
38
		Map<String,VoteDetermination> votes = propositionDetermination.getVotesDeterminations();
38
		Map<String,VoteDetermination> votes = propositionDetermination.getVotesDeterminations();
Line 39... Line -...
39
		int scoreVote = 0;
-
 
40
		
-
 
41
		String truc = "";
39
		int scoreVote = 0;
42
		
40
		
43
		if(votes.size() > 0) {
41
		if(votes.size() > 0) {
44
			Set<String> cles = votes.keySet();
42
			Set<String> cles = votes.keySet();
45
			for (String cle : cles) {
-
 
46
				scoreVote += votes.get(cle).getVote();
43
			for (String cle : cles) {
Line 47... Line 44...
47
				truc += cle+"  "+votes.get(cle).getVote()+"\n";
44
				scoreVote += votes.get(cle).getVote();
48
			}
45
			}
49
			
46