You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by da...@apache.org on 2015/06/22 10:48:07 UTC

git commit: updated refs/heads/master to dc40f61

Repository: cloudstack
Updated Branches:
  refs/heads/master 6fd49e49a -> dc40f6117


Fix findbugs DM_BOXED_PRIMITIVE_FOR_PARSING warning in DeployVMCmd.java

Signed-off-by: Daan Hoogland <da...@gmail.com>

This closes #498


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

Branch: refs/heads/master
Commit: dc40f6117b334fddf46e701ca249f21200ac0256
Parents: 6fd49e4
Author: Rafael da Fonseca <rs...@gmail.com>
Authored: Mon Jun 22 00:06:53 2015 +0200
Committer: Daan Hoogland <da...@gmail.com>
Committed: Mon Jun 22 10:47:48 2015 +0200

----------------------------------------------------------------------
 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/dc40f611/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 8026d93..77b10ec 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
@@ -520,7 +520,7 @@ public class DeployVMCmd extends BaseAsyncCreateCustomIdCmd {
 
         try {
             if (maxIops != null) {
-                lMaxIops = Long.valueOf(maxIops);
+                lMaxIops = Long.parseLong(maxIops);
             }
             else {
                 lMaxIops = 0;