mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
ALF-14393: Unclosed zip files on HEAD bootstrap
ACPImportPackageHandler now closes zip file in endImport() method. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@37519 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -164,6 +164,17 @@ public class ACPImportPackageHandler
|
||||
*/
|
||||
public void endImport()
|
||||
{
|
||||
if (zipFile != null)
|
||||
{
|
||||
try
|
||||
{
|
||||
zipFile.close();
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
throw new ImporterException("Failed to close zip package " + file.getAbsolutePath(), e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user