Change in ovirt-engine[master]: core: fix not closing statement resource leak

Allon Mureinik has submitted this change and it was merged. Change subject: core: fix not closing statement resource leak ...................................................................... core: fix not closing statement resource leak Fix a resource leak caused by not closing a statement by adding a "try with resource" statement. It was possible because Statement implements AutoCloseable. Change-Id: Ibaeaa0c162bf9171a51e19ae95cf9689efd9fe04 Signed-off-by: Alissa Bonas <abonas@redhat.com> --- M backend/manager/modules/dal/src/test/java/org/ovirt/engine/core/dao/BaseDAOTestCase.java 1 file changed, 3 insertions(+), 2 deletions(-) Approvals: Allon Mureinik: Verified; Looks good to me, approved -- To view, visit http://gerrit.ovirt.org/19055 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: Ibaeaa0c162bf9171a51e19ae95cf9689efd9fe04 Gerrit-PatchSet: 2 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Alissa Bonas <abonas@redhat.com> Gerrit-Reviewer: Alissa Bonas <abonas@redhat.com> Gerrit-Reviewer: Allon Mureinik <amureini@redhat.com> Gerrit-Reviewer: Itamar Heim <iheim@redhat.com> Gerrit-Reviewer: oVirt Jenkins CI Server
participants (1)
-
amureini@redhat.com