Subversion Repositories eFlore/Applications.del

Rev

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

Rev 1566 Rev 1573
Line 291... Line 291...
291
		for (String clef : image.getVotesProtocoles(protocole.getId()).keySet()) {
291
		for (String clef : image.getVotesProtocoles(protocole.getId()).keySet()) {
292
			VoteProtocole imageCelValidationData = image.getVotesProtocoles(protocole.getId()).get(clef);
292
			VoteProtocole imageCelValidationData = image.getVotesProtocoles(protocole.getId()).get(clef);
293
			points += echelle[imageCelValidationData.getVote() - 1];
293
			points += echelle[imageCelValidationData.getVote() - 1];
294
		}
294
		}
Line 295... Line -...
295
 
-
 
296
		// @TODO ramener les votes négatifs à 0 pour ne pas insulter les contributeurs ?
295
 
297
		return points;
296
		return points;
Line 298... Line 297...
298
	}
297
	}
299
 
298