mirror of https://github.com/apache/maven.git
PR: MNG-633
avoid leaking checksum temporary files git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@225540 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
84696bc3e4
commit
c757e62b3a
|
@ -475,6 +475,7 @@ public class DefaultWagonManager
|
|||
String actualChecksum = checksumObserver.getActualChecksum();
|
||||
|
||||
File checksumFile = new File( destination + checksumFileExtension );
|
||||
checksumFile.deleteOnExit();
|
||||
wagon.get( remotePath + checksumFileExtension, checksumFile );
|
||||
|
||||
String expectedChecksum = FileUtils.fileRead( checksumFile );
|
||||
|
|
Loading…
Reference in New Issue