Change in ovirt-engine[master]: core: VmAnalizer switch-case

amureini at redhat.com amureini at redhat.com
Mon Jan 11 16:48:40 UTC 2016


Allon Mureinik has submitted this change and it was merged.

Change subject: core: VmAnalizer switch-case
......................................................................


core: VmAnalizer switch-case

The switch-case in the proceedVmBeforeDeletion() method only had one
branch, so re-writing it as an if makes the code cleaner and easier to
understand.

Change-Id: Ie17251d03478bf64345f21ff4b2cf0ef1c8584e7
Signed-off-by: Allon Mureinik <amureini at redhat.com>
---
M backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/VmAnalyzer.java
1 file changed, 32 insertions(+), 36 deletions(-)

Approvals:
  Tal Nisan: Looks good to me, approved
  Allon Mureinik: Verified; Passed CI tests



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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ie17251d03478bf64345f21ff4b2cf0ef1c8584e7
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: Arik Hadas <ahadas at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Roy Golan <rgolan at redhat.com>
Gerrit-Reviewer: Tal Nisan <tnisan at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list