Performance tweaks and code cleanup

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5076 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Kevin Roast
2007-02-08 11:08:38 +00:00
parent 0249c6bbea
commit 268a821142
5 changed files with 6 additions and 10 deletions

View File

@@ -294,10 +294,10 @@ public final class QName implements QNamePattern, Serializable, Cloneable
}
if (object instanceof QName)
{
QName other = (QName) object;
QName other = (QName)object;
// namespaceURI and localname are not allowed to be null
return (this.namespaceURI.equals(other.namespaceURI) &&
this.localName.equals(other.localName));
return (this.localName.equals(other.localName) &&
this.namespaceURI.equals(other.namespaceURI));
}
else
{