[
https://jira.codehaus.org/browse/MRM-1626?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Olivier Lamy closed MRM-1626.
-----------------------------
Resolution: Fixed
Fix Version/s: 1.4-M3
Assignee: Olivier Lamy
fixed r1327887
Thanks!
> 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
> Assignee: Olivier Lamy
> Fix For: 1.4-M3
>
> 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