mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Remove commented-out code (ALF-11426)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@31909 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -1404,22 +1404,8 @@ public class ImapServiceImpl implements ImapService, OnCreateChildAssociationPol
|
||||
}
|
||||
final NodeRef defaultLocaleTemplate = templates.get(0);
|
||||
|
||||
// ResultSet resultSet = serviceRegistry.getSearchService().query(storeRef, "xpath", query);
|
||||
// if (resultSet == null || resultSet.length() == 0)
|
||||
// {
|
||||
// if(logger.isDebugEnabled())
|
||||
// {
|
||||
// logger.debug("template not found:" + templateName);
|
||||
// }
|
||||
// throw new AlfrescoRuntimeException(String.format("[getDefaultEmailBodyTemplate] IMAP message template '%1$s' does not exist in the path '%2$s'.", templateName, repositoryTemplatePath));
|
||||
// }
|
||||
// final NodeRef defaultLocaleTemplate = resultSet.getNodeRef(0);
|
||||
//
|
||||
NodeRef localisedSibling = serviceRegistry.getFileFolderService().getLocalizedSibling(defaultLocaleTemplate);
|
||||
//
|
||||
result = localisedSibling.toString();
|
||||
//
|
||||
// resultSet.close();
|
||||
}
|
||||
// We are catching all exceptions. E.g. search service can possibly throw an exceptions on malformed queries.
|
||||
catch (Exception e)
|
||||
|
Reference in New Issue
Block a user