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:
Kevin Roast
2008-06-26 11:25:32 +00:00
parent 0556414084
commit 793bd318e4
2 changed files with 10 additions and 7 deletions

View File

@@ -203,6 +203,7 @@ public class VersionHistoryNode extends BaseContentNode
/**
* @return The list of aspects applied to this node
*/
@Override
public Set<QName> getAspects()
{
if (this.aspects == null)
@@ -218,6 +219,7 @@ public class VersionHistoryNode extends BaseContentNode
*
* @return true if the node has the aspect false otherwise
*/
@Override
public boolean hasAspect(String aspect)
{
if (this.aspects == null)
@@ -247,6 +249,7 @@ public class VersionHistoryNode extends BaseContentNode
/**
* @see org.alfresco.repo.template.TemplateProperties#getChildren()
*/
@Override
public List<TemplateProperties> getChildren()
{
return null;

View File

@@ -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,7 +342,7 @@ public final class QName implements QNamePattern, Serializable, Cloneable
*/
public String toString()
{
return new StringBuffer(80).append(NAMESPACE_BEGIN)
return new StringBuilder(80).append(NAMESPACE_BEGIN)
.append(namespaceURI)
.append(NAMESPACE_END)
.append(localName).toString();