/** * Returns the list of reports with the given IDs. * * @param reportIds the IDs of the requested reports. * @return the list of reports, which may be empty, but is never * <code>null</code>. */ public List<ExternalReport> getReports(final List<ReportId> reportIds) { final List<ExternalReport> reports = new ArrayList<ExternalReport>(reportIds.size()); for (final ReportId reportId : reportIds) { reports.add(get(reportId)); } return reports; }