Geometries enum improvements
----------------------------
Key: GEOT-3937
URL: https://jira.codehaus.org/browse/GEOT-3937
Project: GeoTools
Issue Type: Improvement
Components: api
Reporter: Michael Bedward
Assignee: Michael Bedward
Priority: Minor
Fix For: 8.0-M3
Add a NULL constant and return this instead of null from all methods.
Relax the param type for Geometries.getForBinding from Class<? extends
Geometry> to Class<?>. While this means we lose compile-time warnings it saves
lots of ugly and tedious casting in client code and, with the NULL constant,
should still be safe.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel