Change in ovirt-engine[master]: frontend: fix getHostListByDataCenter

ahadas at redhat.com ahadas at redhat.com
Thu Dec 18 12:29:03 UTC 2014


Arik Hadas has submitted this change and it was merged.

Change subject: frontend: fix getHostListByDataCenter
......................................................................


frontend: fix getHostListByDataCenter

ClassCastException was thrown in
AsyncDataProvider#getHostListByDataCenter claiming that LinkedList
cannot be casted to ArrayList.

We should not assume the returned List is ArrayList. This patch fix it.

Change-Id: I14ac504114942785e512ab83e783f07ded69ca47
Signed-off-by: Arik Hadas <ahadas at redhat.com>
---
M frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/dataprovider/AsyncDataProvider.java
1 file changed, 1 insertion(+), 2 deletions(-)

Approvals:
  Shahar Havivi: Looks good to me, approved
  Arik Hadas: Verified



-- 
To view, visit http://gerrit.ovirt.org/36265
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I14ac504114942785e512ab83e783f07ded69ca47
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Arik Hadas <ahadas at redhat.com>
Gerrit-Reviewer: Arik Hadas <ahadas at redhat.com>
Gerrit-Reviewer: Shahar Havivi <shavivi at redhat.com>
Gerrit-Reviewer: automation at ovirt.org



More information about the Engine-commits mailing list