} else {
addCoverage(store, builder, reader, catalog, format, name, qName, props, null);
}
} finally {
if(reader != null) {
reader.dispose();
}
}
}
private void addCoverage(CoverageStoreInfo store, CatalogBuilder builder, GridCoverage2DReader reader, Catalog catalog,