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 8767F18D1D for ; Mon, 15 Jun 2015 09:14:41 +0000 (UTC) Received: (qmail 93290 invoked by uid 500); 15 Jun 2015 09:14:35 -0000 Delivered-To: apmail-cloudstack-commits-archive@cloudstack.apache.org Received: (qmail 93196 invoked by uid 500); 15 Jun 2015 09:14:34 -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 92679 invoked by uid 99); 15 Jun 2015 09:14:34 -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, 15 Jun 2015 09:14:34 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 7B64BE042D; Mon, 15 Jun 2015 09:14:34 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: bhaisaab@apache.org To: commits@cloudstack.apache.org Date: Mon, 15 Jun 2015 09:14:46 -0000 Message-Id: <26d8b4dbccb4469a82a434842a946166@git.apache.org> In-Reply-To: <03983ad0411445f184514074063a3185@git.apache.org> References: <03983ad0411445f184514074063a3185@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [13/34] git commit: updated refs/heads/master to 7a57ce3 Fix findbugs warning in ClusterManagerImpl.java ManagementServerHostDao.findByMsid takes long as input, and a boxed Long was being created for it Signed-off-by: Rohit Yadav This closes #420 Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/eeeb2bb3 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/eeeb2bb3 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/eeeb2bb3 Branch: refs/heads/master Commit: eeeb2bb31d44ce874a206e74d56a93470b505f5d Parents: e409bc3 Author: Rafael da Fonseca Authored: Sun Jun 14 16:54:12 2015 +0200 Committer: Rohit Yadav Committed: Mon Jun 15 12:09:29 2015 +0300 ---------------------------------------------------------------------- framework/cluster/src/com/cloud/cluster/ClusterManagerImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/eeeb2bb3/framework/cluster/src/com/cloud/cluster/ClusterManagerImpl.java ---------------------------------------------------------------------- diff --git a/framework/cluster/src/com/cloud/cluster/ClusterManagerImpl.java b/framework/cluster/src/com/cloud/cluster/ClusterManagerImpl.java index 158a6c3..8c99ff3 100644 --- a/framework/cluster/src/com/cloud/cluster/ClusterManagerImpl.java +++ b/framework/cluster/src/com/cloud/cluster/ClusterManagerImpl.java @@ -413,7 +413,7 @@ public class ClusterManagerImpl extends ManagerBase implements ClusterManager, C @Override public ManagementServerHostVO getPeer(String mgmtServerId) { - return _mshostDao.findByMsid(Long.valueOf(mgmtServerId)); + return _mshostDao.findByMsid(Long.parseLong(mgmtServerId)); } @Override