Maor Lipchuk has uploaded a new change for review.

Change subject: core:Clean unlogic code
......................................................................

core:Clean unlogic code

The initialization which is deleted is already done in getImage method.

The code which is deleted represents the following logic:
a = b;
if (a == null) then get(b.id)

if a is null then b is also null and there will be an NPE.

Change-Id: Iea05459893efc0cc6ca9d793d1546862771a0bc2
Signed-off-by: Maor Lipchuk <mlipc...@redhat.com>
---
M 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/BaseImagesCommand.java
1 file changed, 0 insertions(+), 8 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/40/4640/1
--
To view, visit http://gerrit.ovirt.org/4640
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iea05459893efc0cc6ca9d793d1546862771a0bc2
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Maor Lipchuk <mlipc...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to