You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by mt...@apache.org on 2015/08/13 06:58:25 UTC

git commit: updated refs/heads/master to 8fcc76e

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 <mi...@solidfire.com>
Authored: Wed Aug 12 22:57:59 2015 -0600
Committer: Mike Tutkowski <mi...@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);