Jim Ma created CXF-4326:
---------------------------

             Summary: Move the XPathFactory.newInstance from XPathUtils 
constructor to improve the performance a bit
                 Key: CXF-4326
                 URL: https://issues.apache.org/jira/browse/CXF-4326
             Project: CXF
          Issue Type: Improvement
            Reporter: Jim Ma
            Assignee: Jim Ma


XPathFactoryFinder looks up the factory for each XPathUtil construction, this 
is duplicate and can be improved for performance. 
    at 
javax.xml.xpath.XPathFactoryFinder._newFactory(XPathFactoryFinder.java:222)
    at 
javax.xml.xpath.XPathFactoryFinder.newFactory(XPathFactoryFinder.java:143)
    at javax.xml.xpath.XPathFactory.newInstance(XPathFactory.java:185)
    at javax.xml.xpath.XPathFactory.newInstance(XPathFactory.java:99)
    at org.apache.cxf.helpers.XPathUtils.<init>(XPathUtils.java:37)
    at org.apache.cxf.helpers.XPathUtils.<init>(XPathUtils.java:41)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to