Fix findbugs DM_BOXED_PRIMITIVE_FOR_PARSING warning in ElastistorPrimaryDataStoreLifeCycle.java

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

This closes #503
This commit is contained in:
Rafael da Fonseca 2015-06-22 00:41:08 +02:00 committed by Daan Hoogland
parent a17852aaf4
commit b929db1f1a

View File

@ -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{