Duplicate feature reader iterator class
---------------------------------------
Key: GEOT-2039
URL: http://jira.codehaus.org/browse/GEOT-2039
Project: GeoTools
Issue Type: Bug
Reporter: Andrea Aime
Assignee: Jody Garnett
Fix For: 2.5.0, 2.6-M0
This one is a horror story. In the code we have two FeatureReaderIterator doing
the same thing:
* org.geotools.data.store.FeatureReaderIterator
* org.geotools.features.FeatureReaderIterator
DataFeatureCollection uses the former, and
DefaultFeatureCollection.close(iterator) checks only for the former.
If any of the subclasses happened to use the other iterator for any reason, the
result would be an unclosed reader.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel