Change in ovirt-engine[master]: engine: Remove unnecessary code and add check for NPE.

lhornyak at redhat.com lhornyak at redhat.com
Mon Sep 24 12:13:12 UTC 2012


Laszlo Hornyak has submitted this change and it was merged.

Change subject: engine: Remove unnecessary code and add check for NPE.
......................................................................


engine: Remove unnecessary code and add check for NPE.

'for' loop should not be called when lists is null.

Change-Id: Id771f4bd5342dc90a03ee1bd6a52dc285fb85765
Signed-off-by: Sharad Mishra <snmishra at linux.vnet.ibm.com>
---
M frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/Linq.java
1 file changed, 3 insertions(+), 4 deletions(-)

Approvals:
  Laszlo Hornyak: Verified; Looks good to me, approved


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

Gerrit-MessageType: merged
Gerrit-Change-Id: Id771f4bd5342dc90a03ee1bd6a52dc285fb85765
Gerrit-PatchSet: 5
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Sharad Mishra <snmishra at linux.vnet.ibm.com>
Gerrit-Reviewer: Daniel Erez <derez at redhat.com>
Gerrit-Reviewer: Gilad Chaplik <gchaplik at redhat.com>
Gerrit-Reviewer: Laszlo Hornyak <lhornyak at redhat.com>
Gerrit-Reviewer: Sharad Mishra <snmishra at linux.vnet.ibm.com>
Gerrit-Reviewer: Vojtech Szocs <vszocs at redhat.com>



More information about the Engine-commits mailing list