Merged WEBAPP-API (5.2.1) to 5.2.N (5.2.1)

133084 jkaabimofrad: APPSREPO-61: Corrected the debug messages.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@133217 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Jamal Kaabi-Mofrad
2016-11-28 16:53:49 +00:00
parent 9faaad1d45
commit 3a3c78c5db

View File

@@ -72,7 +72,7 @@ public class QuickShareLinkExpiryActionExecutor extends ActionExecuterAbstractBa
String sharedId = quickShareLinkExpiryAction.getSharedId(); String sharedId = quickShareLinkExpiryAction.getSharedId();
if (LOGGER.isDebugEnabled()) if (LOGGER.isDebugEnabled())
{ {
LOGGER.debug("Unsharing the shared id [" + sharedId + "] for the node:" + quickShareService.getMetaData(sharedId).get("name")); LOGGER.debug("Unsharing the shared id [" + sharedId + "] for the node:" + quickShareService.getTenantNodeRefFromSharedId(sharedId).getSecond());
} }
if (StringUtils.isEmpty(sharedId)) if (StringUtils.isEmpty(sharedId))
@@ -85,7 +85,7 @@ public class QuickShareLinkExpiryActionExecutor extends ActionExecuterAbstractBa
quickShareService.unshareContent(sharedId); quickShareService.unshareContent(sharedId);
if (LOGGER.isDebugEnabled()) if (LOGGER.isDebugEnabled())
{ {
LOGGER.debug("Unshared the shared id [" + sharedId + "] for the node:" + quickShareService.getMetaData(sharedId).get("name")); LOGGER.debug("Unshared the shared id:" + sharedId);
} }
} }
catch (Exception ex) catch (Exception ex)