Return-Path: X-Original-To: apmail-cloudstack-commits-archive@www.apache.org Delivered-To: apmail-cloudstack-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3E3F21823F for ; Mon, 29 Jun 2015 07:00:24 +0000 (UTC) Received: (qmail 72891 invoked by uid 500); 29 Jun 2015 07:00:23 -0000 Delivered-To: apmail-cloudstack-commits-archive@cloudstack.apache.org Received: (qmail 72720 invoked by uid 500); 29 Jun 2015 07:00:23 -0000 Mailing-List: contact commits-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list commits@cloudstack.apache.org Received: (qmail 72489 invoked by uid 99); 29 Jun 2015 07:00:23 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Jun 2015 07:00:23 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 0074EDFA96; Mon, 29 Jun 2015 07:00:22 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: jayapal@apache.org To: commits@cloudstack.apache.org Date: Mon, 29 Jun 2015 07:00:23 -0000 Message-Id: <287c82ec944d4354b69ff1b4bbac2080@git.apache.org> In-Reply-To: <0d74957833654fb3a8670b3a43e6ef98@git.apache.org> References: <0d74957833654fb3a8670b3a43e6ef98@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [02/50] [abbrv] git commit: updated refs/heads/dhcpoffload to 45721ae Fix findbugs DM_BOXED_PRIMITIVE_FOR_PARSING warning in ElastistorPrimaryDataStoreLifeCycle.java Signed-off-by: Daan Hoogland This closes #503 Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/b929db1f Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/b929db1f Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/b929db1f Branch: refs/heads/dhcpoffload Commit: b929db1f1ad8e7f96fef2dd68de9c75fe9df9320 Parents: a17852a Author: Rafael da Fonseca Authored: Mon Jun 22 00:41:08 2015 +0200 Committer: Daan Hoogland Committed: Mon Jun 22 10:54:55 2015 +0200 ---------------------------------------------------------------------- .../datastore/lifecycle/ElastistorPrimaryDataStoreLifeCycle.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/b929db1f/plugins/storage/volume/cloudbyte/src/org/apache/cloudstack/storage/datastore/lifecycle/ElastistorPrimaryDataStoreLifeCycle.java ---------------------------------------------------------------------- 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 f7e9385..7254c2b 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 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{