Archiva
  1. Archiva
  2. MRM-1626

Use MavenXpp3Reader as a static variable

    Details

    • Type: Improvement Improvement
    • Status: 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
    • Flags:
      Patch

      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

      1. patch.txt
        1.0 kB
        Charles King

        Activity

        Charles King created issue -
        Olivier Lamy (*$^¨%`£) made changes -
        Field Original Value New Value
        Resolution Fixed [ 1 ]
        Fix Version/s 1.4-M3 [ 18056 ]
        Assignee Olivier Lamy [ olamy ]
        Status Open [ 1 ] Closed [ 6 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 08:30:08 UTC 2015 [ 1428222608952 ]
        Mark Thomas made changes -
        Workflow jira [ 12708436 ] Default workflow, editable Closed status [ 12737899 ]
        Mark Thomas made changes -
        Patch Submitted Yes [ 10763 ]
        Flags Patch [ 10430 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 21:01:51 UTC 2015 [ 1428267711911 ]
        Mark Thomas made changes -
        Workflow jira [ 12945410 ] Default workflow, editable Closed status [ 12982691 ]

          People

          • Assignee:
            Olivier Lamy (*$^¨%`£)
            Reporter:
            Charles King
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development