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:
Jan Vonka
2010-09-07 16:04:45 +00:00
parent 0578df0270
commit e0b0e5d97e
2 changed files with 84 additions and 84 deletions

View File

@@ -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);

View File

@@ -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())
{