added javadoc and removed unused imports

This commit is contained in:
cagache
2019-02-15 17:11:04 +02:00
parent 54010f6ab9
commit b6d6094ebe
2 changed files with 7 additions and 3 deletions

View File

@@ -33,7 +33,6 @@ import java.util.Set;
import org.alfresco.model.ContentModel;
import org.alfresco.model.RenditionModel;
import org.alfresco.module.org_alfresco_module_rm.version.RecordableVersionModel;
import org.alfresco.repo.policy.BehaviourFilter;
import org.alfresco.repo.policy.annotation.BehaviourBean;
import org.alfresco.service.cmr.dictionary.DictionaryService;

View File

@@ -74,7 +74,7 @@ public class ServiceBaseImpl implements RecordsManagementModel, ApplicationConte
/** authentication helper */
protected AuthenticationUtil authenticationUtil;
/** transactional resource helper */
protected TransactionalResourceHelper transactionalResourceHelper;
@@ -554,9 +554,14 @@ public class ServiceBaseImpl implements RecordsManagementModel, ApplicationConte
return result;
}
/**
* Helper to create a new content URL for the node
*
* @param nodeRef the node
*/
protected void createNewContentURL(NodeRef nodeRef)
{
//create a new content URL for the copy
//create a new content URL for the node
ContentReader reader = fileFolderService.getReader(nodeRef);
if (reader != null)
{