mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-09-17 14:21:39 +00:00
Addressed review comments
This commit is contained in:
@@ -202,7 +202,7 @@ public class TagsImpl implements Tags
|
|||||||
public NodeRef validateTag(StoreRef storeRef, String tagId)
|
public NodeRef validateTag(StoreRef storeRef, String tagId)
|
||||||
{
|
{
|
||||||
NodeRef tagNodeRef = nodes.validateNode(storeRef,tagId);
|
NodeRef tagNodeRef = nodes.validateNode(storeRef,tagId);
|
||||||
if ( tagNodeRef == null || nodeService.hasAspect(tagNodeRef, ContentModel.ASPECT_TAGGABLE))
|
if (tagNodeRef == null || nodeService.hasAspect(tagNodeRef, ContentModel.ASPECT_TAGGABLE))
|
||||||
{
|
{
|
||||||
throw new EntityNotFoundException(tagId);
|
throw new EntityNotFoundException(tagId);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user