List<DaoCommunityAccount2> resultsTmp = (List<DaoCommunityAccount2>) query.execute(user);
if(resultsTmp.size() != 0 )
{
DaoCommunityAccount2 daoComAcc = resultsTmp.get(0);
CommunityAccount comAcc= TransformDtoObject.TransformDaoCommunityAccountToCommunityAccount(daoComAcc);
String previousDate = "";
for (DaoCommunityAccount2 myDaoCommunityAccount : resultsTmp ) {
//si 2 dates identiques se suivent on ne prend la deuxième
String dateCurrent = "";
if (myDaoCommunityAccount.getDateCommunityAccount() != null) {
dateCurrent = sdf.format(myDaoCommunityAccount.getDateCommunityAccount());
if (!dateCurrent.equalsIgnoreCase(previousDate)) {
CommunityAccount comAccForList= TransformDtoObject.TransformDaoCommunityAccountToCommunityAccount(myDaoCommunityAccount);
comAcc.listDates.add(dateCurrent);
//comAcc.listBattlesTanks.add(comAccForList.g); //bug now !!!!
//comAcc.listBattlesTanksWins.add(myDaoCommunityAccount.getData().getStatsVehicules().getBattle_wins());
}