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:
Brett Leslie Porter 2005-07-27 16:05:45 +00:00
parent 84696bc3e4
commit c757e62b3a
1 changed files with 1 additions and 0 deletions

View File

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