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 dc359c5
Date Mon, 22 Jun 2015 08:50:23 GMT
Repository: cloudstack
Updated Branches:
  refs/heads/master 58eac0b49 -> dc359c505


Fix findbugs DM_BOXED_PRIMITIVE_FOR_PARSING in BareMetalResourceBase.java

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

This closes #501


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

Branch: refs/heads/master
Commit: dc359c505e0780fa5cb5fa1f245febdcfe5d234c
Parents: 58eac0b
Author: Rafael da Fonseca <rsafonseca@gmail.com>
Authored: Mon Jun 22 00:36:18 2015 +0200
Committer: Daan Hoogland <daan.hoogland@gmail.com>
Committed: Mon Jun 22 10:50:12 2015 +0200

----------------------------------------------------------------------
 .../com/cloud/baremetal/networkservice/BareMetalResourceBase.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/dc359c50/plugins/hypervisors/baremetal/src/com/cloud/baremetal/networkservice/BareMetalResourceBase.java
----------------------------------------------------------------------
diff --git a/plugins/hypervisors/baremetal/src/com/cloud/baremetal/networkservice/BareMetalResourceBase.java
b/plugins/hypervisors/baremetal/src/com/cloud/baremetal/networkservice/BareMetalResourceBase.java
index 7b8f2eb..d760ea1 100644
--- a/plugins/hypervisors/baremetal/src/com/cloud/baremetal/networkservice/BareMetalResourceBase.java
+++ b/plugins/hypervisors/baremetal/src/com/cloud/baremetal/networkservice/BareMetalResourceBase.java
@@ -188,7 +188,7 @@ public class BareMetalResourceBase extends ManagerBase implements ServerResource
 
         try {
             provisionDoneNotificationOn = Boolean.valueOf(configDao.getValue(Config.BaremetalProvisionDoneNotificationEnabled.key()));
-            isProvisionDoneNotificationTimeout = Integer.valueOf(configDao.getValue(Config.BaremetalProvisionDoneNotificationTimeout.key()));
+            isProvisionDoneNotificationTimeout = Integer.parseInt(configDao.getValue(Config.BaremetalProvisionDoneNotificationTimeout.key()));
         } catch (Exception e) {
             s_logger.debug(e.getMessage(), e);
         }


Mime
View raw message