3 Commits

Author SHA1 Message Date
mrglavas
8dcb34f116 Minor performance improvements:
Improving the performance of toString() by caching the result.

Improving the performance of equals() by first checking if the QName is the
same object and then by checking whether the local names are equal before
looking at the namespace URI. Since it's more likely that the namespaces
will be equal, we can return false faster when the local names are different.


git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226225 13f79535-47bb-0310-9956-ffa450edef68
2005-06-04 04:12:57 +00:00
mrglavas
dc53decaec Javadoc fix for QName(String,String,String). End tags for code were missing.
<code>QName<code> --> <code>QName</code>

This caused the Javadoc for the methods following this constructor to be
formatted entirely in the "code" format.


git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226212 13f79535-47bb-0310-9956-ffa450edef68
2005-06-03 21:58:15 +00:00
neeraj
f672902d3f Upgrading to JAXP 1.3 APIs.
git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226187 13f79535-47bb-0310-9956-ffa450edef68
2005-04-11 07:02:02 +00:00