[JIRA] Created: (JXT-88) AbstractXMLObject unnecessarily creates a new QName in getElementQName

anli.shundi@idp.protectnetwork.org (JIRA) noreply at shibboleth.net
Thu Aug 9 23:33:06 EDT 2012


AbstractXMLObject unnecessarily creates a new QName in getElementQName
----------------------------------------------------------------------

                 Key: JXT-88
                 URL: https://issues.shibboleth.net/jira/browse/JXT-88
             Project: XMLTooling - Java
          Issue Type: Bug
    Affects Versions: 1.3.4
            Reporter: anli.shundi at idp.protectnetwork.org
            Assignee: Brent Putman
            Priority: Minor


Since QName is immutable the member should be instead returned.

Talking about optimizations: it would be preferable to check isTraceEnabled before concatenating & passing arguments to trace.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the commits mailing list