Contact: | |
|---|---|
Tracker: | https://jira.codehaus.org/browse/GEOT-4191 |
Tagline: | try-with-resource |
Children: |
Description
Reading the Java 7 planned try-with-resource syntax I am convinced that supporting the Closable interface is necessary change for GeoTools 9.x.
Reading:
Status
This proposal is shaping up, ask question on the email list or vote below:
- Andrea Aime +1
- Ben Caradoc-Davies
- Christian Mueller +1
- Ian Turton +1
- Justin Deoliveira +1
- Jody Garnett +1
- Simone Giannecchini
Tasks
| no progress |
| done |
| impeded |
| lack mandate/funds/time |
| volunteer needed |
|---|
Coordinate API Change (above patches should be tested / applied together)- Implement Closable
FeatureIterator
FeatureReader
FeatureWriter
A lot of this work got rolled into the FeatureCollection clean up- Warn / Patch downstream applications (Combined with FeatureCollection cleanup)
Patch for GeoServer
Patch for uDig (patch ready held up waiting for 1.3.3 release)
- Check the code examples in user guide
Feature Collection try-with-resource code example
Geometry CRS Tutorial
Query Tutorial
API Changes
FeatureIterator
BEFORE:
AFTER:
FeatureReader
BEFORE:
AFTER:
FeatureWriter
BEFORE:
AFTER:
Labels