Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Contact:

Jody Garnett

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:

Tasks


 

no progress

(tick)

done

(error)

impeded

(warning)

lack mandate/funds/time

(question)

volunteer needed

  1. FeatureIterator API change to throw IOException
    • Update Interface and Implementations
    • Fix library code including any broken tests
  2. Warn / Patch downstream applications
    1. Patch for GeoServer
    2. Patch for uDig
  3. Coordinate API Change (above patches should be tested / applied together)
  4. Implement Closable
    • FeatureIterator
    • FeatureReader
    • FeatureWriter
  5. Update the user guide

API Changes

FeatureIterator

BEFORE:

AFTER:

FeatureReader

BEFORE:

AFTER:

FeatureWriter

BEFORE:

AFTER:

  • No labels