Change in ovirt-engine[master]: core: Use shorter scope for try catch block

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: Use shorter scope for try catch block
......................................................................


core: Use shorter scope for try catch block

There is no need to put try catch block on createTask since it
is already swallows the exception in CommandBase.

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

Approvals:
  Daniel Erez: Looks good to me, approved
  Maor Lipchuk: Verified; Looks good to me, approved



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

Gerrit-MessageType: merged
Gerrit-Change-Id: Icbdfa7acaac633a1e2010db5fd9fc9afe4fab219
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: oVirt Jenkins CI Server



More information about the Engine-commits mailing list