ItEr49S04ValidacionEProbasFuncionaisItEr48S04: [Bug #346] The Report schedulingProgressPerOrder already is not shown empty.

This commit is contained in:
Susana Montes Pedreira 2010-02-22 13:31:11 +01:00 committed by Javier Moran Rua
parent 70cd6cd60a
commit 4db78f82ab

View file

@ -180,7 +180,11 @@ public class SchedulingProgressPerOrderModel implements ISchedulingProgressPerOr
.add(new SchedulingProgressPerOrderDTO(each, tasks,
advanceType, referenceDate));
}
if (schedulingProgressPerOrderList.isEmpty()) {
return new JREmptyDataSource();
}
return new JRBeanCollectionDataSource(schedulingProgressPerOrderList);
}
@Override