
Allon Mureinik has submitted this change and it was merged. Change subject: core: Removed AddVmFromSnapshot.canLockSnapshot() ...................................................................... core: Removed AddVmFromSnapshot.canLockSnapshot() Removed the method and inlined the check together with the other snapshot validations. Change-Id: Ic0baad35bfaf24ae534676a24a6abc63d7853c23 Signed-off-by: Vered Volansky <vvolansk@redhat.com> --- M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/AddVmFromSnapshotCommand.java M backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/AddVmCommandTest.java 2 files changed, 7 insertions(+), 9 deletions(-) Approvals: Allon Mureinik: Looks good to me, approved Vered Volansky: Verified -- To view, visit http://gerrit.ovirt.org/14571 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: Ic0baad35bfaf24ae534676a24a6abc63d7853c23 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Vered Volansky <vvolansk@redhat.com> Gerrit-Reviewer: Allon Mureinik <amureini@redhat.com> Gerrit-Reviewer: Vered Volansky <vvolansk@redhat.com>