You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by da...@apache.org on 2014/04/05 10:15:03 UTC
git commit: updated refs/heads/master to e97e65b
Repository: cloudstack
Updated Branches:
refs/heads/master 6b7f91d77 -> e97e65bff
findbugs: toArray of the right type, not Object[]
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/e97e65bf
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/e97e65bf
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/e97e65bf
Branch: refs/heads/master
Commit: e97e65bff01e5b2f843737293d12ff892ab33f07
Parents: 6b7f91d
Author: Daan Hoogland <da...@onecht.net>
Authored: Sat Apr 5 10:14:54 2014 +0200
Committer: Daan Hoogland <da...@onecht.net>
Committed: Sat Apr 5 10:14:54 2014 +0200
----------------------------------------------------------------------
server/src/com/cloud/api/dispatch/ParamProcessWorker.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/e97e65bf/server/src/com/cloud/api/dispatch/ParamProcessWorker.java
----------------------------------------------------------------------
diff --git a/server/src/com/cloud/api/dispatch/ParamProcessWorker.java b/server/src/com/cloud/api/dispatch/ParamProcessWorker.java
index c86689f..9db2d38 100644
--- a/server/src/com/cloud/api/dispatch/ParamProcessWorker.java
+++ b/server/src/com/cloud/api/dispatch/ParamProcessWorker.java
@@ -260,7 +260,7 @@ public class ParamProcessWorker implements DispatchWorker {
if (!entitiesToOperate.isEmpty()) {
_accountMgr.checkAccess(caller, AccessType.OperateEntry, false, apiName,
- (ControlledEntity[]) entitiesToOperate.toArray());
+ entitiesToOperate.toArray(new ControlledEntity[entitiesToOperate.size()]));
}
}