mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
RM: Fix build
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@56060 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -464,12 +464,10 @@ public class RecordServiceImpl implements RecordService,
|
|||||||
try
|
try
|
||||||
{
|
{
|
||||||
NodeRef nodeRef = childAssocRef.getChildRef();
|
NodeRef nodeRef = childAssocRef.getChildRef();
|
||||||
ContentData contentData = (ContentData)nodeService.getProperty(nodeRef, ContentModel.PROP_CONTENT);
|
|
||||||
if (nodeService.exists(nodeRef) == true &&
|
if (nodeService.exists(nodeRef) == true &&
|
||||||
nodeService.hasAspect(nodeRef, ContentModel.ASPECT_TEMPORARY) == false &&
|
nodeService.hasAspect(nodeRef, ContentModel.ASPECT_TEMPORARY) == false &&
|
||||||
nodeService.getType(nodeRef).equals(TYPE_RECORD_FOLDER) == false &&
|
nodeService.getType(nodeRef).equals(TYPE_RECORD_FOLDER) == false &&
|
||||||
nodeService.getType(nodeRef).equals(TYPE_RECORD_CATEGORY) == false &&
|
nodeService.getType(nodeRef).equals(TYPE_RECORD_CATEGORY) == false)
|
||||||
contentData != null && contentData.getSize() != 0)
|
|
||||||
{
|
{
|
||||||
if (nodeService.hasAspect(nodeRef, ContentModel.ASPECT_NO_CONTENT) == true)
|
if (nodeService.hasAspect(nodeRef, ContentModel.ASPECT_NO_CONTENT) == true)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user