charlie kim created MRM-1626:
--------------------------------
Summary: Use MavenXpp3Reader as a static variable
Key: MRM-1626
URL: https://jira.codehaus.org/browse/MRM-1626
Project: Archiva
Issue Type: Improvement
Affects Versions: 1.4-M2
Environment: Linux rhel 6
Reporter: charlie kim
Attachments: patch.txt
2012/4/17 Charles Kim <[email protected]>:
> Hi,
> It seems that MavenXpp3Reader is threadsafe. If so, can this be used
> as static variable instead of creating it for every request? (Although
> underlying XmlPullParser does the heavy lifting) Thanks.
>
I think too it's thread safe (good catch !).
Do you want to submit a patch for this fix ?
--
Olivier Lamy
Talend: http://coders.talend.com
http://twitter.com/olamy | http://linkedin.com/in/olamy
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira