Change in ovirt-engine[master]: webadmin: Inline Linq#filterNonSnapableDisks

From Allon Mureinik <amureini@redhat.com>:
Allon Mureinik has submitted this change and it was merged. Change subject: webadmin: Inline Linq#filterNonSnapableDisks ...................................................................... webadmin: Inline Linq#filterNonSnapableDisks As Linq#filterNonSnapableDisks is only used in one place, SnapshotMode, it's probably not a good fit for a general purpose class like Linq, and should be removed from it. This patch removes this function and inlines the functionality in SnapshotModel. As an added bonus, this patch consolidates the filtering and the sorting of the disks list, generating a slight performance improvement. Change-Id: Ic052700b9a88fc55e21399241a3d4d1b27e94f9b Signed-off-by: Allon Mureinik <amureini@redhat.com> --- M frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/Linq.java M frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/SnapshotModel.java 2 files changed, 8 insertions(+), 12 deletions(-) Approvals: Tal Nisan: Looks good to me, approved Jenkins CI: Passed CI tests Allon Mureinik: Verified -- To view, visit https://gerrit.ovirt.org/75185 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: Ic052700b9a88fc55e21399241a3d4d1b27e94f9b Gerrit-PatchSet: 7 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Allon Mureinik <amureini@redhat.com> Gerrit-Reviewer: Allon Mureinik <amureini@redhat.com> Gerrit-Reviewer: Idan Shaby <ishaby@redhat.com> Gerrit-Reviewer: Jenkins CI Gerrit-Reviewer: Tal Nisan <tnisan@redhat.com> Gerrit-Reviewer: Vojtech Szocs <vszocs@redhat.com> Gerrit-Reviewer: gerrit-hooks <automation@ovirt.org>
participants (1)
-
Code Review