Change in ovirt-engine[master]: core: ImportVmFromConfigurationCommand streaming API

Allon Mureinik has submitted this change and it was merged. Change subject: core: ImportVmFromConfigurationCommand streaming API ...................................................................... core: ImportVmFromConfigurationCommand streaming API Replaced the outdated LinqUtils call with a more modern use of Java 8's stream APIs. Besides cleaning up the code, it offers a slight performance improvement by iterating the list only once instead of twice - one for the casting and another one to construct an ArrayList. Change-Id: I969bb726efb84898e22a6ede219a31aabce44308 Signed-off-by: Allon Mureinik <amureini@redhat.com> --- M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/ImportVmFromConfigurationCommand.java 1 file changed, 2 insertions(+), 8 deletions(-) Approvals: Tal Nisan: Looks good to me, approved Allon Mureinik: Verified; Passed CI tests Ala Hino: Looks good to me, but someone else must approve -- To view, visit https://gerrit.ovirt.org/49047 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: I969bb726efb84898e22a6ede219a31aabce44308 Gerrit-PatchSet: 2 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Allon Mureinik <amureini@redhat.com> Gerrit-Reviewer: Ala Hino <ahino@redhat.com> Gerrit-Reviewer: Allon Mureinik <amureini@redhat.com> Gerrit-Reviewer: Jenkins CI Gerrit-Reviewer: Tal Nisan <tnisan@redhat.com> Gerrit-Reviewer: gerrit-hooks <automation@ovirt.org>
participants (1)
-
amureini@redhat.com