From 886989e290fa80c388f04de29504903a05e6a900 Mon Sep 17 00:00:00 2001 From: "suneet.gupta" Date: Sat, 11 Mar 2023 00:57:24 +0530 Subject: [PATCH] Addressed review comments --- .../src/main/java/org/alfresco/rest/api/impl/TagsImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); }