cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject git commit: updated refs/heads/master to dc40f61
Date Mon, 22 Jun 2015 08:48:07 GMT
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 <daan.hoogland@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 <rsafonseca@gmail.com>
Authored: Mon Jun 22 00:06:53 2015 +0200
Committer: Daan Hoogland <daan.hoogland@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;


Mime
View raw message