mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
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:
@@ -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;
|
||||
|
@@ -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
|
||||
{
|
||||
|
Reference in New Issue
Block a user