mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
Removal of ID elements from slingshot model objects.
Removal of unused page-type elements from page model objects. IDs are no longer required at all for model object XML config, the ID is implied by the unique path to the document. A few other minor improvements. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9577 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -44,10 +44,10 @@ public final class QName implements QNamePattern, Serializable, Cloneable
|
||||
{
|
||||
private static final long serialVersionUID = 3977016258204348976L;
|
||||
|
||||
private String namespaceURI; // never null
|
||||
private String localName; // never null
|
||||
private final String namespaceURI; // never null
|
||||
private final String localName; // never null
|
||||
private int hashCode;
|
||||
private String prefix;
|
||||
private final String prefix;
|
||||
|
||||
public static final char NAMESPACE_PREFIX = ':';
|
||||
public static final char NAMESPACE_BEGIN = '{';
|
||||
@@ -342,10 +342,10 @@ public final class QName implements QNamePattern, Serializable, Cloneable
|
||||
*/
|
||||
public String toString()
|
||||
{
|
||||
return new StringBuffer(80).append(NAMESPACE_BEGIN)
|
||||
.append(namespaceURI)
|
||||
.append(NAMESPACE_END)
|
||||
.append(localName).toString();
|
||||
return new StringBuilder(80).append(NAMESPACE_BEGIN)
|
||||
.append(namespaceURI)
|
||||
.append(NAMESPACE_END)
|
||||
.append(localName).toString();
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user