Hi,
A found in Jira this bug, http://jira.codehaus.org/browse/GEOT-3131
I removed unnecessary for loop, and add condition to check if index is not
null because null pointer exception may occur. 

The bug is quite old. Anyway, i pushed changed included javadoc comment to
my fork and ask for pull request on github. Pull request can be found here:
https://github.com/geotools/geotools/pull/190

Best regards
Martin Tomasek

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to