Change in ovirt-engine[master]: core: Remove redundant else

mlipchuk at redhat.com mlipchuk at redhat.com
Thu Jan 30 12:15:44 UTC 2014


Maor Lipchuk has submitted this change and it was merged.

Change subject: core: Remove redundant else
......................................................................


core: Remove redundant else

There is no use for the else phase since when the if condition is true
we already throw an exception.

Change-Id: Idb49270dc895dd38752b1d49a070c4e11d891242
Signed-off-by: Maor Lipchuk <mlipchuk at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/AddVmFromTemplateCommand.java
1 file changed, 3 insertions(+), 4 deletions(-)

Approvals:
  Tal Nisan: Looks good to me, approved
  Allon Mureinik: Looks good to me, approved
  Maor Lipchuk: Verified
  Liron Ar: Looks good to me, but someone else must approve



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

Gerrit-MessageType: merged
Gerrit-Change-Id: Idb49270dc895dd38752b1d49a070c4e11d891242
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Maor Lipchuk <mlipchuk at redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Daniel Erez <derez at redhat.com>
Gerrit-Reviewer: Liron Ar <laravot at redhat.com>
Gerrit-Reviewer: Maor Lipchuk <mlipchuk at redhat.com>
Gerrit-Reviewer: Sergey Gotliv <sgotliv at redhat.com>
Gerrit-Reviewer: Tal Nisan <tnisan at redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list