Clean up and fixes for webstudio/merge issues with getDocumentPaths() and associated remote store methods.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@12620 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Kevin Roast
2009-01-08 11:48:48 +00:00
parent 8e224cb5fe
commit b66bae9b79
3 changed files with 5 additions and 25 deletions

View File

@@ -77,9 +77,9 @@ public class AVMRemoteStore extends BaseRemoteStore
*/
public void setRootPath(String rootPath)
{
if (rootPath != null && rootPath.length() == 0)
if (rootPath == null || rootPath.length() == 0)
{
rootPath = "/";
throw new IllegalArgumentException("Root path must be specified.");
}
this.rootPath = rootPath;

View File

@@ -227,7 +227,7 @@ public abstract class BaseRemoteStore extends AbstractWebScript
String path = pathBuilder.toString();
if (logger.isDebugEnabled())
logger.debug("Remote method: " + methodName + " Store Id: " + store + " Path: " + path);
logger.debug("Remote method: " + methodName.toUpperCase() + " Store Id: " + store + " Path: " + path);
try
{