diff --git a/remote-api/src/main/java/org/alfresco/rest/api/impl/TagsImpl.java b/remote-api/src/main/java/org/alfresco/rest/api/impl/TagsImpl.java index c0f87fd032..4d3555368e 100644 --- a/remote-api/src/main/java/org/alfresco/rest/api/impl/TagsImpl.java +++ b/remote-api/src/main/java/org/alfresco/rest/api/impl/TagsImpl.java @@ -197,12 +197,12 @@ public class TagsImpl implements Tags { NodeRef tagNodeRef = nodes.validateNode(tagId); return validateTag(tagNodeRef.getStoreRef(), tagId); - } + } public NodeRef validateTag(StoreRef storeRef, String 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); }