mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Fixed failing publishing tests.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29564 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -118,6 +118,11 @@ public abstract class NodeUtils
|
||||
};
|
||||
}
|
||||
|
||||
public static boolean exists(NodeRef node, NodeService nodeService)
|
||||
{
|
||||
return node != null && nodeService.exists(node);
|
||||
}
|
||||
|
||||
public static NodeRef getSingleChildAssocNode(Collection<ChildAssociationRef> assocs, boolean getChild)
|
||||
{
|
||||
if(assocs != null && assocs.size()==1 )
|
||||
|
Reference in New Issue
Block a user