Common visitors break with an NPE when they visit an empty collection
---------------------------------------------------------------------
Key: GEOT-3323
URL: http://jira.codehaus.org/browse/GEOT-3323
Project: GeoTools
Issue Type: Bug
Components: core main
Affects Versions: 2.7-M3
Reporter: Andrea Aime
Assignee: Andrea Aime
Fix For: 2.7-M4
All the visitors have a strategy that gets initialized only if the
visit(Feature) is called at least once.
In case of an empty visit they should return something reporting that no result
has been computed
I'd go for a null, since for some data types there is just no other way to
properly express the result.
--
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
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
Spend less time writing and rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel