Merged MNT-17845-5.2.N (5.2.2) to 5.2.N (5.2.2)

137777 anechifor: REPO-2516 - MNT-17845 : Smart Folders - replece isReference with fromNodeRef
      - Review changes.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@137784 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Ancuta Morarasu
2017-06-23 11:37:36 +00:00
parent f6f20a31f9
commit 345de9c40d
3 changed files with 64 additions and 79 deletions

View File

@@ -185,13 +185,13 @@ public class VirtualNodeServiceExtension extends VirtualSpringBeanExtension<Node
public Set<QName> getAspects(NodeRef nodeRef)
{
NodeServiceTrait theTrait = getTrait();
Reference vRef = Reference.fromNodeRef(nodeRef);
if (vRef != null)
Reference reference = Reference.fromNodeRef(nodeRef);
if (reference != null)
{
GetAspectsMethod method = new GetAspectsMethod(theTrait,
environment);
return vRef.execute(method);
return reference.execute(method);
}
else
{