Return-Path: X-Original-To: apmail-incubator-cloudstack-commits-archive@minotaur.apache.org Delivered-To: apmail-incubator-cloudstack-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 26B94E58B for ; Sat, 26 Jan 2013 16:21:59 +0000 (UTC) Received: (qmail 6699 invoked by uid 500); 26 Jan 2013 16:21:52 -0000 Delivered-To: apmail-incubator-cloudstack-commits-archive@incubator.apache.org Received: (qmail 6581 invoked by uid 500); 26 Jan 2013 16:21:52 -0000 Mailing-List: contact cloudstack-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cloudstack-dev@incubator.apache.org Delivered-To: mailing list cloudstack-commits@incubator.apache.org Received: (qmail 1391 invoked by uid 99); 26 Jan 2013 16:21:39 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Jan 2013 16:21:39 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 98D8F825E1C; Sat, 26 Jan 2013 16:21:39 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: tsp@apache.org To: cloudstack-commits@incubator.apache.org X-Mailer: ASF-Git Admin Mailer Subject: [17/50] [abbrv] git commit: ApiDiscoveryServiceImpl: Fix fields variable definition from array to set Message-Id: <20130126162139.98D8F825E1C@tyr.zones.apache.org> Date: Sat, 26 Jan 2013 16:21:39 +0000 (UTC) ApiDiscoveryServiceImpl: Fix fields variable definition from array to set Signed-off-by: Rohit Yadav Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/87b493d8 Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/87b493d8 Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/87b493d8 Branch: refs/heads/marvin-refactor-phase1 Commit: 87b493d8945017a0a329bbb399c69c4424120125 Parents: 7d119c0 Author: Rohit Yadav Authored: Wed Jan 23 13:52:12 2013 -0800 Committer: Prasanna Santhanam Committed: Thu Jan 24 17:48:35 2013 +0530 ---------------------------------------------------------------------- .../discovery/ApiDiscoveryServiceImpl.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/87b493d8/plugins/api/discovery/src/org/apache/cloudstack/discovery/ApiDiscoveryServiceImpl.java ---------------------------------------------------------------------- diff --git a/plugins/api/discovery/src/org/apache/cloudstack/discovery/ApiDiscoveryServiceImpl.java b/plugins/api/discovery/src/org/apache/cloudstack/discovery/ApiDiscoveryServiceImpl.java index 5ac2281..bfd2719 100644 --- a/plugins/api/discovery/src/org/apache/cloudstack/discovery/ApiDiscoveryServiceImpl.java +++ b/plugins/api/discovery/src/org/apache/cloudstack/discovery/ApiDiscoveryServiceImpl.java @@ -107,7 +107,7 @@ public class ApiDiscoveryServiceImpl implements ApiDiscoveryService { } } - Field[] fields = ReflectUtil.getAllFieldsForClass(cmdClass, + Set fields = ReflectUtil.getAllFieldsForClass(cmdClass, new Class[]{BaseCmd.class, BaseAsyncCmd.class, BaseAsyncCreateCmd.class}); boolean isAsync = ReflectUtil.isCmdClassAsync(cmdClass,