Archiva
  1. Archiva
  2. MRM-1626

Use MavenXpp3Reader as a static variable

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.4-M2
    • Fix Version/s: 1.4-M3
    • Component/s: None
    • Labels:
      None
    • Environment:
      Linux rhel 6
    • Patch Submitted:
      Yes
    • Number of attachments :
      1

      Description

      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

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Olivier Lamy
            Reporter:
            charlie kim
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: