Allow shapefile data store to write down feature types with BigDecimal or
BigInteger types (as an extension, every Number subclass)
-----------------------------------------------------------------------------------------------------------------------------------
Key: GEOT-960
URL: http://jira.codehaus.org/browse/GEOT-960
Project: GeoTools
Issue Type: Bug
Components: data shapefile
Affects Versions: 2.2.0, 2.2.1, 2.3
Reporter: Andrea Aime
Assigned To: Ian Wolfe Schneider
Fix For: 2.2.1, 2.3
At the moment trying to write to a shapefile with a featuretype having one
bigdecimal attribute fails because of erroneous
type cheks at line 1031 in ShapefileDataStore
} else if ((colType == Double.class) || (colType == Float.class)
|| (colType == Number.class)) {
the third is really impossible, since Number is abstract. It should be
Number.class.isAssignableFrom(colType)
instead.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel