mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Merged V2.2 to HEAD
8405: Added causal exception to the runtime generated 8408: AR-2136, AR-2137, AR-2138 8410: WCM-1110, WCM-1111 8417: Stopped chiba:match() function from being inserted into bindings for xforms model elements of type xs:integer. 8419: Fixes for correct use of .empty in name spaces of QNames 8420: Finally fixes WCM-1108 and WCM-1109 8489: Merged V2.1 to V2.2 8482: Fix For AR-2163 8507: Merged V2.1 to V2.2 8504: Fix for AR-2165 - respect repo read only setting during authentication git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@8508 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -27,6 +27,8 @@ package org.alfresco.service.namespace;
|
||||
import java.io.Serializable;
|
||||
import java.util.Collection;
|
||||
|
||||
import org.alfresco.repo.domain.hibernate.NamespaceEntityImpl;
|
||||
|
||||
/**
|
||||
* <code>QName</code> represents the qualified name of a Repository item. Each
|
||||
* QName consists of a local name qualified by a namespace.
|
||||
@@ -229,7 +231,7 @@ public final class QName implements QNamePattern, Serializable, Cloneable
|
||||
*/
|
||||
private QName(String namespace, String name, String prefix)
|
||||
{
|
||||
this.namespaceURI = (namespace == null) ? NamespaceService.DEFAULT_URI : namespace;
|
||||
this.namespaceURI = ((namespace == null) || (namespace.equals(NamespaceEntityImpl.EMPTY_URI_SUBSTITUTE))) ? NamespaceService.DEFAULT_URI : namespace;
|
||||
this.prefix = prefix;
|
||||
this.localName = name;
|
||||
this.hashCode = 0;
|
||||
|
Reference in New Issue
Block a user