> > This would finally let us recover for the darn for-each loop. FeatureReader 
> > and FeatureWriter should also implement closable.
> > 
> > Java 6: close() would throw IOException 
> 
> Looks good to me. As said in the past, imho it has been a mistake not to 
> throw IOException from
> the other FeatureIterator methods (they can do IO after all), but adding it 
> now might require heavy
> code migrations...
> 
> 
> 

Agreed; and agreed. However I cannot see a way to avoid this (even if Java 7 
seems along way off).

Change request is prepared here:
- 
http://docs.codehaus.org/display/GEOTOOLS/Java+7+try-with-resource+compatibility
- https://jira.codehaus.org/browse/GEOT-4191

I also created the 9.x series in Jira so we have a place to collect these 
things. 


Jody 

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to