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

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@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@redhat.com> Gerrit-Reviewer: Allon Mureinik <amureini@redhat.com> Gerrit-Reviewer: Jenkins CI Gerrit-Reviewer: Maor Lipchuk <mlipchuk@redhat.com> Gerrit-Reviewer: Tal Nisan <tnisan@redhat.com> Gerrit-Reviewer: automation@ovirt.org
participants (1)
-
amureini@redhat.com