Updated Branches:
  refs/heads/master 237fd426e -> 3a89d33e9

CS-14826
fix typo
Reviewed-by: sheng


Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/3a89d33e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/3a89d33e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/3a89d33e

Branch: refs/heads/master
Commit: 3a89d33e920c3b8930ab52c039a58ac108dad2f6
Parents: 237fd42
Author: Edison Su <[email protected]>
Authored: Tue May 29 17:12:17 2012 -0700
Committer: Edison Su <[email protected]>
Committed: Thu Jun 14 14:27:49 2012 -0700

----------------------------------------------------------------------
 .../storage/template/DownloadManagerImpl.java      |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/3a89d33e/core/src/com/cloud/storage/template/DownloadManagerImpl.java
----------------------------------------------------------------------
diff --git a/core/src/com/cloud/storage/template/DownloadManagerImpl.java 
b/core/src/com/cloud/storage/template/DownloadManagerImpl.java
index b9fc038..3cfed1f 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;

Reply via email to