From 33f38d017b8b710be442ea161c746460dcd88bdf Mon Sep 17 00:00:00 2001 From: Rafael da Fonseca Date: Mon, 22 Jun 2015 00:41:08 +0200 Subject: [PATCH] Fix findbugs DM_BOXED_PRIMITIVE_FOR_PARSING warning in ElastistorPrimaryDataStoreLifeCycle.java --- .../lifecycle/ElastistorPrimaryDataStoreLifeCycle.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 f7e9385683b4..7254c2b59ca7 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 void updateStoragePool(StoragePool storagePool, Map detai 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{