Change in ovirt-engine[master]: core: Use Collections.singletonList

amureini at redhat.com amureini at redhat.com
Mon Jul 13 20:13:18 UTC 2015


Allon Mureinik has submitted this change and it was merged.

Change subject: core: Use Collections.singletonList
......................................................................


core: Use Collections.singletonList

Use Collections.singletonList instead of ArrayList for a "constant" list
that should always hold a single item.

Change-Id: Ib5f6077599c3a949bcd75b79573598a87cfcce48
Signed-off-by: Allon Mureinik <amureini at redhat.com>
---
M backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/storage/AddExistingFileStorageDomainCommandTest.java
1 file changed, 2 insertions(+), 4 deletions(-)

Approvals:
  Tal Nisan: Looks good to me, approved
  Jenkins CI: Passed CI tests
  Allon Mureinik: Verified



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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ib5f6077599c3a949bcd75b79573598a87cfcce48
Gerrit-PatchSet: 3
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: Tal Nisan <tnisan at redhat.com>
Gerrit-Reviewer: automation at ovirt.org



More information about the Engine-commits mailing list