correctly close streams

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1338226 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2012-05-14 14:38:19 +00:00
parent a4bc7e4e16
commit 44c1ca4e60
2 changed files with 4 additions and 4 deletions

View File

@ -545,8 +545,8 @@ public class DefaultRepositoriesService
}
finally
{
out.close();
input.close();
IOUtils.closeQuietly( out );
IOUtils.closeQuietly( input );
}
if ( fixChecksums )

View File

@ -469,8 +469,8 @@ public class UploadAction
}
finally
{
out.close();
input.close();
IOUtils.closeQuietly( out );
IOUtils.closeQuietly( input );
}
if ( fixChecksums )