Change in ovirt-engine[master]: core: Use java.util.Collections methods

amureini at redhat.com amureini at redhat.com
Wed Jun 24 16:28:36 UTC 2015


Allon Mureinik has submitted this change and it was merged.

Change subject: core: Use java.util.Collections methods
......................................................................


core: Use java.util.Collections methods

Stopped using ArrayLists and instead used Collections.emptyList() and
Collections.singletonList().

This makes the code both shorter and more obvious to read.

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

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



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I0c1b59aa2bcb6b0da85946c37be1cea422bd51c2
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: Maor Lipchuk <mlipchuk at redhat.com>
Gerrit-Reviewer: Tal Nisan <tnisan at redhat.com>
Gerrit-Reviewer: automation at ovirt.org



More information about the Engine-commits mailing list