final TreeSet noTableCols = new TreeSet(nameComparator);
// Walk data source's list of tables. If there are no tables for the
// data source, then instead add all columns to the noTableCols set.
DataSource source = report.getDataSource();
Iterator iter = source.tables();
if (iter != null) {
while (iter.hasNext())
tables.add(iter.next());
}