Change in ovirt-engine[master]: core: ImportVm cleanup: unwrap else blocks

amureini at redhat.com amureini at redhat.com
Sun Dec 9 12:35:07 UTC 2012


Allon Mureinik has submitted this change and it was merged.

Change subject: core: ImportVm cleanup: unwrap else blocks
......................................................................


core: ImportVm cleanup: unwrap else blocks

Unwrapped useless else blocks when execution does not continue after the
if block (e.g., the if block has a return or break statement).

Change-Id: Ice993e9c0a1ce8275a43b8277ddf9574590ee290
Signed-off-by: Allon Mureinik <amureini at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/ImportVmCommand.java
1 file changed, 13 insertions(+), 16 deletions(-)

Approvals:
  Allon Mureinik: Verified; Looks good to me, approved


--
To view, visit http://gerrit.ovirt.org/9611
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ice993e9c0a1ce8275a43b8277ddf9574590ee290
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Alissa Bonas <abonas at redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Ayal Baron <abaron at redhat.com>
Gerrit-Reviewer: Daniel Erez <derez at redhat.com>
Gerrit-Reviewer: Liron Aravot <laravot at redhat.com>
Gerrit-Reviewer: Maor Lipchuk <mlipchuk at redhat.com>
Gerrit-Reviewer: Vered Volansky <vvolansk at redhat.com>



More information about the Engine-commits mailing list