4748495051525354555657
queryResult = query.list(); } List<IncidentDto> result = new ArrayList<IncidentDto>(); for (Incident incident : queryResult) { IncidentDto dto = IncidentDto.fromIncident(incident); result.add(dto); } return result; }