cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bhais...@apache.org
Subject [2/4] git commit: refs/heads/master - ManagementServerImpl: Fix NPE, PluggableService should not return null list
Date Wed, 06 Feb 2013 11:25:10 GMT
ManagementServerImpl: Fix NPE, PluggableService should not return null list

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/8c5cd42b
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/8c5cd42b
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/8c5cd42b

Branch: refs/heads/master
Commit: 8c5cd42b56c3161c6dbac714f4ba82f6b183b2ff
Parents: d99f836
Author: Rohit Yadav <bhaisaab@apache.org>
Authored: Wed Feb 6 16:52:31 2013 +0530
Committer: Rohit Yadav <bhaisaab@apache.org>
Committed: Wed Feb 6 16:54:46 2013 +0530

----------------------------------------------------------------------
 .../src/com/cloud/server/ManagementServerImpl.java |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/8c5cd42b/server/src/com/cloud/server/ManagementServerImpl.java
----------------------------------------------------------------------
diff --git a/server/src/com/cloud/server/ManagementServerImpl.java b/server/src/com/cloud/server/ManagementServerImpl.java
index a1d12c5..5306bc0 100755
--- a/server/src/com/cloud/server/ManagementServerImpl.java
+++ b/server/src/com/cloud/server/ManagementServerImpl.java
@@ -1819,8 +1819,9 @@ public class ManagementServerImpl extends ManagerBase implements ManagementServe
 
     @Override
     public List<Class<?>> getCommands() {
+        List<Class<?>> cmdList = new ArrayList<Class<?>>();
         //TODO: Add cmd classes
-        return null;
+        return cmdList;
     }
 
     protected class EventPurgeTask implements Runnable {


Mime
View raw message