use of org.pentaho.reporting.engine.classic.core.util.CloseableTableModel in project pentaho-platform by pentaho.
the class PentahoTableDataFactory method closeTables.
public void closeTables() {
// this is the old implementation of 'close'
for (TableModel model : tables.values()) {
if (model instanceof CloseableTableModel) {
final CloseableTableModel closeableTableModel = (CloseableTableModel) model;
closeableTableModel.close();
}
}
tables.clear();
}
Aggregations