Purged two vestigial arguments from DirectoryNode.lookupChild() interface.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3981 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Britt Park
2006-09-30 14:49:57 +00:00
parent 5e36db4b45
commit 20bff37610
5 changed files with 19 additions and 24 deletions

View File

@@ -369,7 +369,7 @@ public class AVMRepository
throw new AVMNotFoundException("Path not found.");
}
DirectoryNode srcDir = (DirectoryNode)sPath.getCurrentNode();
AVMNode srcNode = srcDir.lookupChild(sPath, srcName, -1, true, false);
AVMNode srcNode = srcDir.lookupChild(sPath, srcName, false);
if (srcNode == null)
{
throw new AVMNotFoundException("Not found: " + srcName);
@@ -387,7 +387,7 @@ public class AVMRepository
throw new AVMNotFoundException("Path not found.");
}
DirectoryNode dstDir = (DirectoryNode)dPath.getCurrentNode();
AVMNode dstNode = dstDir.lookupChild(dPath, dstName, -1, true, false);
AVMNode dstNode = dstDir.lookupChild(dPath, dstName, false);
if (dstNode != null)
{
throw new AVMExistsException("Node exists: " + dstName);