Michael Pasternak has submitted this change and it was merged. Change subject: sdk: implement AutoCloseable ......................................................................
sdk: implement AutoCloseable close() method is invoked automatically when API proxy is managed by the try-with-resources statement try (Api api = new Api(URL, ...)) { ... } catch (Exception e) { ... } Change-Id: I15786f0f1857c54983602de1f312b234de99bca4 Signed-off-by: Michael pasternak <mpast...@redhat.com> --- M ovirt-engine-sdk-java-codegen/src/main/java/org/ovirt/engine/sdk/codegen/templates/ApiTemplate M ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/Api.java 2 files changed, 22 insertions(+), 2 deletions(-) Approvals: Michael Pasternak: Verified; Looks good to me, approved Mike Kolesnik: Looks good to me, but someone else must approve -- To view, visit http://gerrit.ovirt.org/18538 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: I15786f0f1857c54983602de1f312b234de99bca4 Gerrit-PatchSet: 2 Gerrit-Project: ovirt-engine-sdk-java Gerrit-Branch: master Gerrit-Owner: Michael Pasternak <mpast...@redhat.com> Gerrit-Reviewer: Michael Pasternak <mpast...@redhat.com> Gerrit-Reviewer: Mike Kolesnik <mkole...@redhat.com> Gerrit-Reviewer: Moti Asayag <masa...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches