Change in ovirt-engine[master]: core: GetWatchdogQueryTest: use Collections

amureini at redhat.com amureini at redhat.com
Thu Jan 16 16:52:02 UTC 2014


Allon Mureinik has submitted this change and it was merged.

Change subject: core: GetWatchdogQueryTest: use Collections
......................................................................


core: GetWatchdogQueryTest: use Collections

Replaced the usage of Arrays.asList(vmDevice) with
Collections.singletonList(vmDevice), which is slightly less memory
consuming.

Change-Id: I51ebd9cbeefdcfdf120c23ac657f93cfd16af32a
Signed-off-by: Allon Mureinik <amureini at redhat.com>
---
M backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/GetWatchdogQueryTest.java
1 file changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Allon Mureinik: Verified; Looks good to me, approved



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I51ebd9cbeefdcfdf120c23ac657f93cfd16af32a
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Doron Fediuck <dfediuck at redhat.com>
Gerrit-Reviewer: Gilad Chaplik <gchaplik at redhat.com>
Gerrit-Reviewer: Laszlo Hornyak <lhornyak at redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list