/trunk/src/org/tela_botanica/del/client/utils/UtilitairesServiceResultat.java |
---|
398,9 → 398,12 |
if (!votesProtocoles.containsKey(idProtocoleVote)) { |
votesProtocoles.put(idProtocoleVote, new HashMap<String, VoteProtocole>()); |
} |
// un seul vote par utilisateur - garde le premier pour ĂȘtre cohĂ©rent avec commun/Stats (PHP) |
if (! votesProtocoles.get(idProtocoleVote).containsKey(vd.getContributeur())) { |
votesProtocoles.get(idProtocoleVote).put(vd.getContributeur(), vd); |
} |
} |
} |
return votesProtocoles; |
} |