fix the wrong md5sum check

This commit is contained in:
Edison Su 2012-08-10 17:32:44 -07:00
parent 66e3387b2a
commit 0307effcfa
1 changed files with 1 additions and 1 deletions

View File

@ -297,7 +297,7 @@ public class DownloadManagerImpl implements DownloadManager {
}
byte[] md5sum = digest.digest();
BigInteger bigInt = new BigInteger(1, md5sum);
checksum = String.format("%032x",bigInt.toString(16));
checksum = String.format("%032x",bigInt);
return checksum;
}catch(IOException e) {
return null;