mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
ALF-4291: PostgreSQL - AVM index/search (wip)
- split concurrency test(s) into separate file and added to AVMTestSuite - added missing close(s) for calls to AVM createFile git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22307 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -93,7 +93,7 @@ public class AddAvmContentDialog extends AddContentDialog
|
||||
String parent = this.avmBrowseBean.getCurrentPath();
|
||||
|
||||
// create the file
|
||||
this.getAvmService().createFile(parent, this.fileName);
|
||||
this.getAvmService().createFile(parent, this.fileName).close();
|
||||
this.path = parent + '/' + this.fileName;
|
||||
NodeRef fileNodeRef = AVMNodeConverter.ToNodeRef(-1, this.path);
|
||||
|
||||
|
@@ -304,7 +304,7 @@ public class RenderingEngineTemplateImpl
|
||||
final String parentAVMPath = AVMNodeConverter.SplitBase(renditionAvmPath)[0];
|
||||
AVMUtil.makeAllDirectories(parentAVMPath);
|
||||
avmService.createFile(parentAVMPath,
|
||||
AVMNodeConverter.SplitBase(renditionAvmPath)[1]);
|
||||
AVMNodeConverter.SplitBase(renditionAvmPath)[1]).close();
|
||||
|
||||
if (logger.isDebugEnabled())
|
||||
{
|
||||
|
Reference in New Issue
Block a user