From 402ee953b21a71ca78c04ff9ee2f0b22e3fbcbcf Mon Sep 17 00:00:00 2001 From: Edison Su Date: Tue, 29 May 2012 17:12:17 -0700 Subject: [PATCH] CS-14826 fix typo Reviewed-by: sheng --- core/src/com/cloud/storage/template/DownloadManagerImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/com/cloud/storage/template/DownloadManagerImpl.java b/core/src/com/cloud/storage/template/DownloadManagerImpl.java index b9fc038dca6..3cfed1f24c8 100755 --- a/core/src/com/cloud/storage/template/DownloadManagerImpl.java +++ b/core/src/com/cloud/storage/template/DownloadManagerImpl.java @@ -293,7 +293,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;