Liron Aravot has uploaded a new change for review.

Change subject: core: HibernateVmCommand- simplified canDoAction() method
......................................................................

core: HibernateVmCommand- simplified canDoAction() method

the logic of the checks was extracted to performCheck() and
was replaced with early returns instead of an if-else struacture.

Change-Id: I69135ed771919d3e5a398fa340bd741c63b90f0c
Signed-off-by: Liron Aravot <lara...@redhat.com>
---
M 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/HibernateVmCommand.java
1 file changed, 54 insertions(+), 51 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/04/6804/1
--
To view, visit http://gerrit.ovirt.org/6804
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I69135ed771919d3e5a398fa340bd741c63b90f0c
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Liron Aravot <lara...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to