You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by sa...@apache.org on 2014/07/25 13:17:35 UTC

git commit: updated refs/heads/master to cd67db3

Repository: cloudstack
Updated Branches:
  refs/heads/master 8aeefdc13 -> cd67db395


Fixed Coverity Issues Reported


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

Branch: refs/heads/master
Commit: cd67db395ac1f02944291026bfa496a488144ea0
Parents: 8aeefdc
Author: Santhosh Edukulla <sa...@gmail.com>
Authored: Fri Jul 25 16:47:11 2014 +0530
Committer: Santhosh Edukulla <sa...@gmail.com>
Committed: Fri Jul 25 16:47:11 2014 +0530

----------------------------------------------------------------------
 .../org/apache/cloudstack/api/command/user/vm/DeployVMCmd.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/cd67db39/api/src/org/apache/cloudstack/api/command/user/vm/DeployVMCmd.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/api/command/user/vm/DeployVMCmd.java b/api/src/org/apache/cloudstack/api/command/user/vm/DeployVMCmd.java
index 1beb595..14b703c 100755
--- a/api/src/org/apache/cloudstack/api/command/user/vm/DeployVMCmd.java
+++ b/api/src/org/apache/cloudstack/api/command/user/vm/DeployVMCmd.java
@@ -225,8 +225,8 @@ public class DeployVMCmd extends BaseAsyncCreateCustomIdCmd {
             Iterator iter = parameterCollection.iterator();
             while (iter.hasNext()) {
                 HashMap<String, String> value = (HashMap<String, String>)iter.next();
-                for (String key : value.keySet()) {
-                    customparameterMap.put(key, value.get(key));
+                for (Map.Entry<String,String> entry: value.entrySet()) {
+                    customparameterMap.put(entry.getKey(),entry.getValue());
                 }
             }
         }