Change in ovirt-engine[master]: core: DirectorySearch collections

Code Review gerrit at ovirt.org
Mon Mar 6 09:08:37 UTC 2017


>From Allon Mureinik <amureini at redhat.com>:

Allon Mureinik has submitted this change and it was merged.

Change subject: core: DirectorySearch collections
......................................................................


core: DirectorySearch collections

Use the specialized Collections.singletonList instead of the more
general purpose Arrays.asList for lists with a single element, as it
performs [very slightly] better.

Change-Id: I3e86001c7ba7b067740285e3b3308902f7779396
Signed-off-by: Allon Mureinik <amureini at redhat.com>
---
M backend/manager/modules/enginesso/src/main/java/org/ovirt/engine/core/sso/search/DirectorySearch.java
1 file changed, 6 insertions(+), 7 deletions(-)

Approvals:
  Jenkins CI: Passed CI tests
  Allon Mureinik: Verified
  Moti Asayag: Looks good to me, approved



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I3e86001c7ba7b067740285e3b3308902f7779396
Gerrit-PatchSet: 1
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: Ravi Nori <rnori at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>


More information about the Engine-commits mailing list