Change in ovirt-engine[master]: core: RunVmValidatorTest lists

amureini at redhat.com amureini at redhat.com
Mon May 16 10:12:50 UTC 2016


Allon Mureinik has submitted this change and it was merged.

Change subject: core: RunVmValidatorTest lists
......................................................................


core: RunVmValidatorTest lists

Use the standard Collections#singletonList for a list with a single
hard-coded element instead of anonymously extending ArrayList in a
difficult to understand way.

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

Approvals:
  Allon Mureinik: Verified; Passed CI tests
  Arik Hadas: Looks good to me, approved



-- 
To view, visit https://gerrit.ovirt.org/57492
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I5bc3ad90ead11ceb69ab17676ec7398c2129b2da
Gerrit-PatchSet: 3
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: Arik Hadas <ahadas at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Milan Zamazal <mzamazal at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list