Change in ovirt-engine[master]: core: DbConnectionUtilTest try-with-resource

Allon Mureinik has submitted this change and it was merged. Change subject: core: DbConnectionUtilTest try-with-resource ...................................................................... core: DbConnectionUtilTest try-with-resource Use Java 7's elegant try-with-resource syntax instead of the cumbersome try, catch and check for null in the finally block idiom common in older versions. Change-Id: I3f204eee75523d96b18d8bb7939e11724ae36005 Signed-off-by: Allon Mureinik <amureini@redhat.com> --- M backend/manager/modules/dal/src/test/java/org/ovirt/engine/core/dal/dbbroker/DbConnectionUtilTest.java 1 file changed, 2 insertions(+), 14 deletions(-) Approvals: Martin Peřina: Looks good to me, approved Allon Mureinik: Verified; Passed CI tests -- To view, visit https://gerrit.ovirt.org/63173 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: I3f204eee75523d96b18d8bb7939e11724ae36005 Gerrit-PatchSet: 8 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Allon Mureinik <amureini@redhat.com> Gerrit-Reviewer: Allon Mureinik <amureini@redhat.com> Gerrit-Reviewer: Eli Mesika <emesika@redhat.com> Gerrit-Reviewer: Jenkins CI Gerrit-Reviewer: Martin Peřina <mperina@redhat.com> Gerrit-Reviewer: Tal Nisan <tnisan@redhat.com> Gerrit-Reviewer: gerrit-hooks <automation@ovirt.org>
participants (1)
-
amureini@redhat.com