Skip to content

Commit b929db1

Browse files
rsafonsecaDaanHoogland
authored andcommitted
Fix findbugs DM_BOXED_PRIMITIVE_FOR_PARSING warning in ElastistorPrimaryDataStoreLifeCycle.java
Signed-off-by: Daan Hoogland <daan.hoogland@gmail.com> This closes apache#503
1 parent a17852a commit b929db1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

plugins/storage/volume/cloudbyte/src/org/apache/cloudstack/storage/datastore/lifecycle/ElastistorPrimaryDataStoreLifeCycle.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -563,7 +563,7 @@ public void updateStoragePool(StoragePool storagePool, Map<String, String> detai
563563

564564
if(updateTsmStorageCmdResponse.getStorage().getId() != null){
565565
// update the cloudstack db
566-
_storagePoolDao.updateCapacityBytes(storagePool.getId(), Long.valueOf(capacityBytes));
566+
_storagePoolDao.updateCapacityBytes(storagePool.getId(), Long.parseLong(capacityBytes));
567567

568568
s_logger.info("elastistor TSM storage successfully updated");
569569
}else{

0 commit comments

Comments
 (0)