You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by bh...@apache.org on 2015/06/15 11:14:43 UTC

[10/34] git commit: updated refs/heads/master to 7a57ce3

Fix findbugs DM_BOXED_PRIMITIVE_FOR_PARSING in DeployVMCmd.java Was creating Long to assign to long

Signed-off-by: Rohit Yadav <ro...@shapeblue.com>

This closes #417


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

Branch: refs/heads/master
Commit: d0a494b71b7da575abb66e032dccbd6e1b84cb95
Parents: 89a0708
Author: Rafael da Fonseca <rs...@gmail.com>
Authored: Sun Jun 14 16:43:40 2015 +0200
Committer: Rohit Yadav <ro...@shapeblue.com>
Committed: Mon Jun 15 12:09:24 2015 +0300

----------------------------------------------------------------------
 api/src/org/apache/cloudstack/api/command/user/vm/DeployVMCmd.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/d0a494b7/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 f17c1c1..8026d93 100644
--- a/api/src/org/apache/cloudstack/api/command/user/vm/DeployVMCmd.java
+++ b/api/src/org/apache/cloudstack/api/command/user/vm/DeployVMCmd.java
@@ -506,7 +506,7 @@ public class DeployVMCmd extends BaseAsyncCreateCustomIdCmd {
 
         try {
             if (minIops != null) {
-                lMinIops = Long.valueOf(minIops);
+                lMinIops = Long.parseLong(minIops);
             }
             else {
                 lMinIops = 0;