mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Fairly complete test coverage of basic sanity type operations: createFile, createDirectory,
createBranch, createLayeredDirectory, createLayeredFile, rename, delete, read, write, snapshot, listDirectory. Rename, createLayeredDirectory, createBranch all tested across repositories also. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@2940 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -120,7 +120,15 @@ public class Lookup
|
||||
}
|
||||
else
|
||||
{
|
||||
comp.setIndirection(fComponents.get(fPosition).getIndirection() + "/" + name);
|
||||
String parentIndirection = fComponents.get(fPosition).getIndirection();
|
||||
if (parentIndirection.endsWith("/"))
|
||||
{
|
||||
comp.setIndirection(parentIndirection + name);
|
||||
}
|
||||
else
|
||||
{
|
||||
comp.setIndirection(parentIndirection + "/" + name);
|
||||
}
|
||||
}
|
||||
fLayeredYet = true;
|
||||
// Record the first layer seen.
|
||||
@@ -278,7 +286,6 @@ public class Lookup
|
||||
public String getCurrentIndirection()
|
||||
{
|
||||
String value = fComponents.get(fPosition).getIndirection();
|
||||
System.err.println(value);
|
||||
return value;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user