mirror of https://github.com/apache/archiva.git
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:
parent
a4bc7e4e16
commit
44c1ca4e60
|
@ -545,8 +545,8 @@ public class DefaultRepositoriesService
|
|||
}
|
||||
finally
|
||||
{
|
||||
out.close();
|
||||
input.close();
|
||||
IOUtils.closeQuietly( out );
|
||||
IOUtils.closeQuietly( input );
|
||||
}
|
||||
|
||||
if ( fixChecksums )
|
||||
|
|
|
@ -469,8 +469,8 @@ public class UploadAction
|
|||
}
|
||||
finally
|
||||
{
|
||||
out.close();
|
||||
input.close();
|
||||
IOUtils.closeQuietly( out );
|
||||
IOUtils.closeQuietly( input );
|
||||
}
|
||||
|
||||
if ( fixChecksums )
|
||||
|
|
Loading…
Reference in New Issue