archiva-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Charles Kim <charl...@yahoo-inc.com>
Subject RE: MavenXpp3Reader threadsafe?
Date Wed, 18 Apr 2012 04:12:39 GMT
https://jira.codehaus.org/browse/MRM-1626

Created. Thanks!

-----Original Message-----
From: Olivier Lamy [mailto:olamy@apache.org] 
Sent: Tuesday, April 17, 2012 4:20 AM
To: users@archiva.apache.org
Subject: Re: MavenXpp3Reader threadsafe?

2012/4/17 Charles Kim <charlesk@yahoo-inc.com>:
> 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

Mime
View raw message