RM: Typo in if statement

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@56059 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Roy Wetherall
2013-09-27 01:43:03 +00:00
parent ade9cb4887
commit 07fa31bf79

View File

@@ -464,10 +464,12 @@ public class RecordServiceImpl implements RecordService,
try
{
NodeRef nodeRef = childAssocRef.getChildRef();
ContentData contentData = (ContentData)nodeService.getProperty(nodeRef, ContentModel.PROP_CONTENT);
if (nodeService.exists(nodeRef) == true &&
nodeService.hasAspect(nodeRef, ContentModel.ASPECT_TEMPORARY) == 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)
{