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 b929db1
Date Mon, 22 Jun 2015 08:55:06 GMT
Repository: cloudstack
Updated Branches:
  refs/heads/master a17852aaf -> b929db1f1


Fix findbugs DM_BOXED_PRIMITIVE_FOR_PARSING warning in ElastistorPrimaryDataStoreLifeCycle.java

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

This closes #503


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

Branch: refs/heads/master
Commit: b929db1f1ad8e7f96fef2dd68de9c75fe9df9320
Parents: a17852a
Author: Rafael da Fonseca <rsafonseca@gmail.com>
Authored: Mon Jun 22 00:41:08 2015 +0200
Committer: Daan Hoogland <daan.hoogland@gmail.com>
Committed: Mon Jun 22 10:54:55 2015 +0200

----------------------------------------------------------------------
 .../datastore/lifecycle/ElastistorPrimaryDataStoreLifeCycle.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/b929db1f/plugins/storage/volume/cloudbyte/src/org/apache/cloudstack/storage/datastore/lifecycle/ElastistorPrimaryDataStoreLifeCycle.java
----------------------------------------------------------------------
diff --git a/plugins/storage/volume/cloudbyte/src/org/apache/cloudstack/storage/datastore/lifecycle/ElastistorPrimaryDataStoreLifeCycle.java
b/plugins/storage/volume/cloudbyte/src/org/apache/cloudstack/storage/datastore/lifecycle/ElastistorPrimaryDataStoreLifeCycle.java
index f7e9385..7254c2b 100644
--- a/plugins/storage/volume/cloudbyte/src/org/apache/cloudstack/storage/datastore/lifecycle/ElastistorPrimaryDataStoreLifeCycle.java
+++ b/plugins/storage/volume/cloudbyte/src/org/apache/cloudstack/storage/datastore/lifecycle/ElastistorPrimaryDataStoreLifeCycle.java
@@ -563,7 +563,7 @@ public class ElastistorPrimaryDataStoreLifeCycle implements PrimaryDataStoreLife
 
                    if(updateTsmStorageCmdResponse.getStorage().getId() != null){
                     // update the cloudstack db
-                    _storagePoolDao.updateCapacityBytes(storagePool.getId(), Long.valueOf(capacityBytes));
+                    _storagePoolDao.updateCapacityBytes(storagePool.getId(), Long.parseLong(capacityBytes));
 
                     s_logger.info("elastistor TSM storage successfully updated");
                    }else{


Mime
View raw message