Subversion Repositories eFlore/Applications.del

Rev

Rev 1997 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1997 Rev 1999
Line 380... Line 380...
380
		//int[] echelle = {-1,0,1,4,20};
380
		//int[] echelle = {-1,0,1,4,20};
381
		int[] echelle = {1,10,100,1000,10000};
381
		int[] echelle = {1,10,100,1000,10000};
Line 382... Line 382...
382
 
382
 
383
		for (String clef : image.getVotesProtocoles(protocole.getId()).keySet()) {
383
		for (String clef : image.getVotesProtocoles(protocole.getId()).keySet()) {
-
 
384
			VoteProtocole imageCelValidationData = image.getVotesProtocoles(protocole.getId()).get(clef);
384
			VoteProtocole imageCelValidationData = image.getVotesProtocoles(protocole.getId()).get(clef);
385
			if (imageCelValidationData.getVote() > 0) {
-
 
386
				points += echelle[imageCelValidationData.getVote() - 1];
385
			points += echelle[imageCelValidationData.getVote() - 1];
387
			}
Line 386... Line 388...
386
		}
388
		}
387
 
389