Change in ovirt-engine[master]: engine: Make EngineLock AutoClosable
mkolesni at redhat.com
mkolesni at redhat.com
Wed Jul 3 08:45:36 UTC 2013
Mike Kolesnik has submitted this change and it was merged.
Change subject: engine: Make EngineLock AutoClosable
......................................................................
engine: Make EngineLock AutoClosable
Added AutoClosable capability to the EngineLock class, making it work
with Java 7 syntax of "try with resources".
Change-Id: Ib2f25925481d87a9ea8c73b333eefc0def5eb18a
Signed-off-by: Mike Kolesnik <mkolesni at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/ActivateVdsCommand.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/RefreshHostCapabilitiesCommand.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/VdsCommand.java
M backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/lock/EngineLock.java
4 files changed, 16 insertions(+), 13 deletions(-)
Approvals:
Mike Kolesnik: Verified; Looks good to me, approved
--
To view, visit http://gerrit.ovirt.org/16367
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ib2f25925481d87a9ea8c73b333eefc0def5eb18a
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Mike Kolesnik <mkolesni at redhat.com>
Gerrit-Reviewer: Mike Kolesnik <mkolesni at redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzaslavs at redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server
More information about the Engine-commits
mailing list