mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Slightly less broken RepoLs. Checkpoint. Also gave Pair a reasonable toString method.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4508 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -7,6 +7,8 @@ import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import org.alfresco.service.cmr.repository.NodeRef;
|
||||
import org.alfresco.service.namespace.QName;
|
||||
import org.alfresco.util.Pair;
|
||||
|
||||
/**
|
||||
* List the contents of a directory in a repo.
|
||||
@@ -45,10 +47,10 @@ public class RepoLs extends CltBase
|
||||
System.exit(1);
|
||||
}
|
||||
}
|
||||
Map<String, NodeRef> listing = fRepoRemote.getListing(dir);
|
||||
Map<String, Pair<NodeRef, QName>> listing = fRepoRemote.getListing(dir);
|
||||
for (String name : listing.keySet())
|
||||
{
|
||||
System.out.println(name);
|
||||
System.out.println(name + "\t" + listing.get(name));
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user