Removed over eager exception throw in flatten.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3975 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Britt Park 2006-09-29 14:55:43 +00:00
parent df04fa65f9
commit 6ec40331da

View File

@ -624,7 +624,7 @@ public class AVMSyncServiceImpl implements AVMSyncService
// The underlying thing must be a directory. // The underlying thing must be a directory.
if (!underlying.isDirectory()) if (!underlying.isDirectory())
{ {
throw new AVMWrongTypeException("Underlying is not a directory: " + underlying); return false;
} }
Map<String, AVMNodeDescriptor> layerListing = Map<String, AVMNodeDescriptor> layerListing =
fAVMService.getDirectoryListingDirect(-1, layer.getPath(), true); fAVMService.getDirectoryListingDirect(-1, layer.getPath(), true);