Change in ovirt-engine[master]: core: remove redundant code

ahadas at redhat.com ahadas at redhat.com
Tue Jun 14 11:42:54 UTC 2016


Arik Hadas has submitted this change and it was merged.

Change subject: core: remove redundant code
......................................................................


core: remove redundant code

The 'init' method in command classes is never called when the
parameters class is null (that happens in compensation flow).
Therefore, there is no need to check that inside.

Change-Id: I2b4778b15f78fd82aed647b1772febd2d077b153
Signed-off-by: Arik Hadas <ahadas at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/CommonVmPoolWithVmsCommand.java
1 file changed, 0 insertions(+), 5 deletions(-)

Approvals:
  Shahar Havivi: Looks good to me, approved
  Arik Hadas: Verified; Passed CI tests



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I2b4778b15f78fd82aed647b1772febd2d077b153
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Arik Hadas <ahadas at redhat.com>
Gerrit-Reviewer: Arik Hadas <ahadas at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Shahar Havivi <shavivi at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list