mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
Fix merge - delete duplicate method.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@112665 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -347,23 +347,6 @@ public class JSONConversionComponent extends org.alfresco.repo.jscript.app.JS
|
||||
rootJSONObject.put("originatingLocationPath", originatingLocationPath.toString());
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Helper method to get the display path.
|
||||
*
|
||||
* @param nodeRef node reference
|
||||
* @return String display path
|
||||
*/
|
||||
private String getDisplayPath(final NodeRef nodeRef)
|
||||
{
|
||||
return AuthenticationUtil.runAs(new RunAsWork<String>()
|
||||
{
|
||||
public String doWork() throws Exception
|
||||
{
|
||||
return PathUtil.getDisplayPath(nodeService.getPath(nodeRef), true);
|
||||
}
|
||||
}, AuthenticationUtil.getAdminUserName());
|
||||
}
|
||||
|
||||
/**
|
||||
* Helper method to get the display path.
|
||||
|
Reference in New Issue
Block a user