Added fix for ACS-3960

This commit is contained in:
suneet.gupta
2023-02-16 11:25:16 +05:30
parent bec2ef0d67
commit 79c7bd0f06

View File

@@ -179,7 +179,7 @@ public class TagsImpl implements Tags
for (Pair<NodeRef, String> pair : page)
{
Tag selectedTag = new Tag(pair.getFirst(), pair.getSecond());
selectedTag.setCount(tagsByCountMap.get(selectedTag.getTag())==null?0:tagsByCountMap.get(selectedTag.getTag()));
selectedTag.setCount(tagsByCountMap.get(selectedTag.getTag()) == null ? 0: tagsByCountMap.get(selectedTag.getTag()));
tags.add(selectedTag);
}