There were three errors:
- Two cases where a list of features was being created; used 
DataUtilities.list( fc )
- FeatureWrapper; looks to be an adapater to something that expects an 
iterator; I was able to use the above DataUtilities.list( fc ) method - 
but this would of course load everything into memory; The javadocs 
indicate this this is specifically to allow for an object (ie the 
feature collection) to be used with the for/each loop - I would like to 
ask the author of this code what they are adapting to and if there is 
any way we can close the iterator that is created.

Right now the code compiles; FeatureWrapper is the only troubling spot; 
we can make a new FeatureWrapper that knows it is wrapping a 
FeatureCollection - but I am not sure if there is any kind of hooks for 
us to clean up after the wrapper.

Jody

-------------------------------------------------------------------------
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=/
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to