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
- Ben Caradoc-Davies
- Christian Mueller
- Ian Turton
- Justin Deoliveira
- Jody Garnett +1
- Simone Giannecchini
Tasks
| no progress |
| done |
| impeded |
| lack mandate/funds/time |
| volunteer needed |
|---|
- FeatureIterator API change to throw IOException
- Update Interface and Implementations
- Fix library code including any broken tests
- Warn / Patch downstream applications
- Patch for GeoServer
- Patch for uDig
- Coordinate API Change (above patches should be tested / applied together)
- Implement Closable
- FeatureIterator
- FeatureReader
- FeatureWriter
- Update the 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