Change in ovirt-engine[master]: core: DbConnectionUtilTest try-with-resource
amureini at redhat.com
amureini at redhat.com
Sun Sep 4 12:25:06 UTC 2016
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 at 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 at redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Martin Peřina <mperina at redhat.com>
Gerrit-Reviewer: Tal Nisan <tnisan at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>
More information about the Engine-commits
mailing list