PropertyDataStore doesn't support empty trailing spaces
-------------------------------------------------------
Key: GEOT-3540
URL: http://jira.codehaus.org/browse/GEOT-3540
Project: GeoTools
Issue Type: Bug
Components: data property
Reporter: Gabriel Roldán
Assignee: Jody Garnett
Fix For: 8-M0
Reading from the following .properties file fails:
{code}
_=description:String,name:String
GenericEntity.f004=description-f004|name-f004
GenericEntity.f007=description-f007|
{code}
The second feature has an empty name, but the parser fails. Solution is to
replace
{code}
text = line.substring(split + 1).split("\\|");
{code}
by
{code}
text = line.substring(split + 1).split("\\|", -1);
{code}
at {{PropertyAttributeReader}}.
--
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
------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network
management toolset available today. Delivers lowest initial
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel