Change in ovirt-engine[master]: core: VmDeviceUtils - use addAll

amureini at redhat.com amureini at redhat.com
Mon Jul 18 08:37:03 UTC 2016


Allon Mureinik has submitted this change and it was merged.

Change subject: core: VmDeviceUtils - use addAll
......................................................................


core: VmDeviceUtils - use addAll

Use List's addAll method instead of looping over add methods. This
reduces some boilerplate code from the class and makes these calls
slightly neater.

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

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



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

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



More information about the Engine-commits mailing list