cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t..@apache.org
Subject [11/42] git commit: refs/heads/marvin-refactor - ApiDiscoveryServiceImpl: Fix fields variable definition from array to set
Date Fri, 01 Mar 2013 10:06:31 GMT
ApiDiscoveryServiceImpl: Fix fields variable definition from array to set

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>


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
Commit: 87b493d8945017a0a329bbb399c69c4424120125
Parents: 7d119c0
Author: Rohit Yadav <bhaisaab@apache.org>
Authored: Wed Jan 23 13:52:12 2013 -0800
Committer: Prasanna Santhanam <tsp@apache.org>
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<Field> fields = ReflectUtil.getAllFieldsForClass(cmdClass,
                     new Class<?>[]{BaseCmd.class, BaseAsyncCmd.class, BaseAsyncCreateCmd.class});
 
             boolean isAsync = ReflectUtil.isCmdClassAsync(cmdClass,


Mime
View raw message