mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Retyped a counter so had to muck with many beans. Forced creation of layered directories
to work. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@2930 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -216,10 +216,6 @@ public class PlainDirectoryNode extends DirectoryNode
|
||||
*/
|
||||
public void handlePostCopy(DirectoryNode parent)
|
||||
{
|
||||
if (parent != null)
|
||||
{
|
||||
setRepository(parent.getRepository());
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -255,8 +251,17 @@ public class PlainDirectoryNode extends DirectoryNode
|
||||
* Get the type of this node.
|
||||
* @return The type of this node.
|
||||
*/
|
||||
public AVMNodeType getType()
|
||||
public int getType()
|
||||
{
|
||||
return AVMNodeType.PLAIN_DIRECTORY;
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.alfresco.repo.avm.AVMNode#toString(org.alfresco.repo.avm.Lookup)
|
||||
*/
|
||||
@Override
|
||||
public String toString(Lookup lPath)
|
||||
{
|
||||
return "[PD:" + fData.getId() + "]";
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user