geotools/geotools — pull request #2 by jive (2012-07-05 13:49:20+00:00)
Title: Release connection correctly after borrowing it for handleVisitor implem...

Fix for https://jira.codehaus.org/browse/GEOT-4193

JDBC implementation of FeatureCollection.accepts( visitor, progress ) method has the side effect of closing the current JDBC connection. This causes the next use of the featureSource to fail.