cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mtutkow...@apache.org
Subject git commit: updated refs/heads/master to 8fcc76e
Date Thu, 13 Aug 2015 04:58:25 GMT
Repository: cloudstack
Updated Branches:
  refs/heads/master 55ae168cd -> 8fcc76e7f


Fixing a FindBugs issue related to PR 674

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

Branch: refs/heads/master
Commit: 8fcc76e7ff9a22e0e3c666b3b17b80c5012a2cc7
Parents: 55ae168
Author: Mike Tutkowski <mike.tutkowski@solidfire.com>
Authored: Wed Aug 12 22:57:59 2015 -0600
Committer: Mike Tutkowski <mike.tutkowski@solidfire.com>
Committed: Wed Aug 12 22:57:59 2015 -0600

----------------------------------------------------------------------
 .../storage/datastore/driver/SolidFirePrimaryDataStoreDriver.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8fcc76e7/plugins/storage/volume/solidfire/src/org/apache/cloudstack/storage/datastore/driver/SolidFirePrimaryDataStoreDriver.java
----------------------------------------------------------------------
diff --git a/plugins/storage/volume/solidfire/src/org/apache/cloudstack/storage/datastore/driver/SolidFirePrimaryDataStoreDriver.java
b/plugins/storage/volume/solidfire/src/org/apache/cloudstack/storage/datastore/driver/SolidFirePrimaryDataStoreDriver.java
index b545931..a19aa6b 100644
--- a/plugins/storage/volume/solidfire/src/org/apache/cloudstack/storage/datastore/driver/SolidFirePrimaryDataStoreDriver.java
+++ b/plugins/storage/volume/solidfire/src/org/apache/cloudstack/storage/datastore/driver/SolidFirePrimaryDataStoreDriver.java
@@ -309,7 +309,7 @@ public class SolidFirePrimaryDataStoreDriver implements PrimaryDataStoreDriver
{
                 }
                 else {
                     SolidFireUtil.SolidFireConnection sfConnection = SolidFireUtil.getSolidFireConnection(storagePool.getId(),
_storagePoolDetailsDao);
-                    long lVolumeId = Long.valueOf(volume.getFolder());
+                    long lVolumeId = Long.parseLong(volume.getFolder());
 
                     SolidFireUtil.SolidFireVolume sfVolume = SolidFireUtil.getSolidFireVolume(sfConnection,
lVolumeId);
 


Mime
View raw message