Allon Mureinik has submitted this change and it was merged.
Change subject: core: Remove ListUtils from SearchQuery
......................................................................
core: Remove ListUtils from SearchQuery
Removed the overly generic use of ListUtils in SearchQuery, in an
attempt to remove this class completely.
One instance (template searching) which actually needed a filter was
replaced with Java 8's new streaming API.
The second instance (VDS searching), which used the filter method but
had nothing to do with filtering was replaced by a good old for loop.
Change-Id: I7380a227d35d797387a17e850dadd4d2c842d465
Signed-off-by: Allon Mureinik <amureini(a)redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/SearchQuery.java
1 file changed, 10 insertions(+), 33 deletions(-)
Approvals:
Allon Mureinik: Verified; Passed CI tests
Moti Asayag: Looks good to me, approved
--
To view, visit
https://gerrit.ovirt.org/49401
To unsubscribe, visit
https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I7380a227d35d797387a17e850dadd4d2c842d465
Gerrit-PatchSet: 5
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Allon Mureinik <amureini(a)redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini(a)redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Martin Peřina <mperina(a)redhat.com>
Gerrit-Reviewer: Moti Asayag <masayag(a)redhat.com>
Gerrit-Reviewer: Oved Ourfali <oourfali(a)redhat.com>
Gerrit-Reviewer: Ravi Nori <rnori(a)redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation(a)ovirt.org>