Change in ovirt-engine[master]: core: Remove ListUtils from SearchQuery

amureini at redhat.com amureini at redhat.com
Sun Dec 13 08:11:18 UTC 2015


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 at 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 at redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Martin Peřina <mperina at redhat.com>
Gerrit-Reviewer: Moti Asayag <masayag at redhat.com>
Gerrit-Reviewer: Oved Ourfali <oourfali at redhat.com>
Gerrit-Reviewer: Ravi Nori <rnori at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list