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

amureini at redhat.com amureini at redhat.com
Mon Sep 19 18:32:00 UTC 2016


Allon Mureinik has submitted this change and it was merged.

Change subject: core: TestCommon try-with-resource
......................................................................


core: TestCommon try-with-resource

Use Java 7's try-with-resource syntax to clean up the code and make it
more concise.

Change-Id: I3252f05f3c74644c6cef351deafb294eb277b28a
Signed-off-by: Allon Mureinik <amureini at redhat.com>
---
M backend/manager/modules/uutils/src/test/java/org/ovirt/engine/core/uutils/ssh/SSHDialogTest.java
M backend/manager/modules/uutils/src/test/java/org/ovirt/engine/core/uutils/ssh/TestCommon.java
2 files changed, 2 insertions(+), 22 deletions(-)

Approvals:
  Martin Peřina: Looks good to me, approved
  Ravi Nori: Looks good to me, but someone else must approve
  Allon Mureinik: Verified; Passed CI tests



-- 
To view, visit https://gerrit.ovirt.org/64109
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I3252f05f3c74644c6cef351deafb294eb277b28a
Gerrit-PatchSet: 3
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: Jenkins CI
Gerrit-Reviewer: Martin Peřina <mperina at redhat.com>
Gerrit-Reviewer: Ravi Nori <rnori at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list