This one looks to be a poorly worded comments - I think it is trying to
describe violating encapsulation to get at the internals of a data
structure.
Simone / Daniele your names are at the top of the file can you confirm?
3. RasterLayerResponse.java - Contains a comment of, "we take this apart to
> steal some val". Can you help us understand this comment?
>
// STEP 1 collect all the mosaics from each single dimension
LOGGER.fine("Producing the final mosaic, step 1, loop through
granule collectors");
final List<MosaicElement> mosaicInputs = new
ArrayList<RasterLayerResponse.MosaicElement>();
GranuleCollector first = null; // we take this apart to steal
some val
int size = granuleCollectors.size();
for (GranuleCollector collector : granuleCollectors) {
if(LOGGER.isLoggable(Level.FINE)) {
LOGGER.fine("Using collector with filter:" +
collector.granuleFilter.toString());
}
final MosaicElement preparedMosaic = new
Mosaicker(collector.collectGranules(), MergeBehavior.FLAT).createMosaic();
if(preparedMosaic != null) {
mosaicInputs.add(preparedMosaic);
if (first == null) {
first = collector;
}
}else{
// we were not able to mosaic these granules, e.g. we
have ROIs and the requested area
// fell outside the ROI
size--;
}
}
------------------------------------------------------------------------------
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors
network devices and physical & virtual servers, alerts via email & sms
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
_______________________________________________
GeoTools-Devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel