XMLConverterFactory should avoid doing expensive operations if the target type is not the one it can handle -----------------------------------------------------------------------------------------------------------
Key: GEOT-1967 URL: http://jira.codehaus.org/browse/GEOT-1967 Project: GeoTools Issue Type: Improvement Components: ext xml-xsd Reporter: Andrea Aime Assignee: Justin Deoliveira Fix For: 2.5.0, 2.6-M0 Attachments: XMLConverterFactory.patch XMLConverterFactory creates xml parsers and performs conversions without checking if the target type is of any interest to it. The attached patch speeds up significantly KVP parsing in GeoServer since java.util.List parsing keeps on hitting the XMLConverterFactory on the route to the right converter. If it's ok to you, I can commit it right away -- 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 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Geotools-devel mailing list Geotools-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel