Change in ovirt-engine[master]: core: fix not closing statement resource leak
amureini at redhat.com
amureini at redhat.com
Wed Sep 11 13:06:41 UTC 2013
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 at 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 at redhat.com>
Gerrit-Reviewer: Alissa Bonas <abonas at redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Itamar Heim <iheim at redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server
More information about the Engine-commits
mailing list