queryResult = query.list();
}
List<HistoricIncidentDto> result = new ArrayList<HistoricIncidentDto>();
for (HistoricIncident historicIncident : queryResult) {
HistoricIncidentDto dto = HistoricIncidentDto.fromHistoricIncident(historicIncident);
result.add(dto);
}
return result;
}