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

lhornyak at redhat.com lhornyak at redhat.com
Sun Jul 22 11:24:00 UTC 2012


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 at 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 at redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Daniel Erez <derez at redhat.com>
Gerrit-Reviewer: Laszlo Hornyak <lhornyak at redhat.com>
Gerrit-Reviewer: Maor Lipchuk <mlipchuk at redhat.com>



More information about the Engine-commits mailing list