mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-10-08 14:51:49 +00:00
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:
@@ -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
|
||||
{
|
||||
|
Reference in New Issue
Block a user