Change in ovirt-engine[master]: core: CommandBase: Removed redundant null check

Laszlo Hornyak has submitted this change and it was merged. Change subject: core: CommandBase: Removed redundant null check ...................................................................... core: CommandBase: Removed redundant null check Removed a null check on the task variable in the CreateTask method. Right before the null check, task.getTaskID() is referenced, so task can clearly not be null at this point. Change-Id: I7c8d20f637d792914b6d6ce15cfd8753aedec64c Signed-off-by: Allon Mureinik <amureini@redhat.com> --- M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/CommandBase.java 1 file changed, 8 insertions(+), 10 deletions(-) Approvals: Laszlo Hornyak: Verified; Looks good to me, approved -- To view, visit http://gerrit.ovirt.org/6469 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: I7c8d20f637d792914b6d6ce15cfd8753aedec64c Gerrit-PatchSet: 3 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Allon Mureinik <amureini@redhat.com> Gerrit-Reviewer: Allon Mureinik <amureini@redhat.com> Gerrit-Reviewer: Daniel Erez <derez@redhat.com> Gerrit-Reviewer: Laszlo Hornyak <lhornyak@redhat.com> Gerrit-Reviewer: Maor Lipchuk <mlipchuk@redhat.com>
participants (1)
-
lhornyak@redhat.com