I have started removing the deprecated items, but I have run into some
issues:
org.geotools.gml.GMLHandlerFeature
org.geotools.gml.GMLHandlerGeometry
org.geotools.gml.GMLHandlerJTS
org.geotools.gml.producer.FeatureTransformer
org.geotools.gml.producer.FeatureTypeTransformer
org.geotools.gml.producer.GeometryTransformer
org.geotools.gml.GMLFilterDocument
org.geotools.gml.GMLFilterFeature
org.geotools.gml.GMLFilterGeometry
org.geotools.gml.GMLReceiver
org.geotools.gml.SubHandler
org.geotools.gml.SubHandlerBox
org.geotools.gml.SubHandlerFactory
org.geotools.gml.SubHandlerLinearRing
org.geotools.gml.SubHandlerLineString
org.geotools.gml.SubHandlerMulti
org.geotools.gml.SubHandlerPoint
org.geotools.gml.SubHandlerPolygon
org.geotools.gml.TestHandler
org.geotools.gml.GMLException
These classes have since had their deprecated tags removed. (Actually
going back through svn history, I can't find the point at which their
deprecation tags were actually present)
Also these methods appear to be un-deprecated:
org.geotools.gui.swing.CoordinateChooser.getAccessory()
Depracated together with
CoordinateChooser.setAccessory(javax.swing.JComponent).
org.geotools.gui.swing.CoordinateChooser.setAccessory(JComponent)
This method doesn't bring any new feature. You can do the
same with better results using the following code:
JPanel panel = new JPanel(new BorderLayout());
panel.add(coordinateChooser, BorderLayout.WEST);
panel.add(accessory, BorderLayout.CENTER);
I've also run into a problem with LiteRenderer:
org.geotools.renderer.lite.LiteRenderer.setOutput(Graphics, Rectangle)
Graphics and bounds is to be set in renderer().
That method can't be removed - it is defined by the Renderer interface,
which LiteRenderer implements.
I have not committed my changes yet, as the last problem breaks the build.
How should I proceed? Ignore the un-deprecated classes/methods and leave
the deprecated method in LiteRenderer? (Note that LiteRenderer itself is
deprecated)
Richard
Jody Garnett wrote:
> Attached is the deprecated list from GeoTools 2.0.x ... anything on this
> list should be removed from GeoTools 2.2.x before release...
> All in all not very much ...
>
> Jody
>
> ------------------------------------------------------------------------
>
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel