Change in ovirt-engine[master]: core: null checks in IconUtils

ofrenkel at redhat.com ofrenkel at redhat.com
Wed May 13 11:50:36 UTC 2015


Omer Frenkel has submitted this change and it was merged.

Change subject: core: null checks in IconUtils
......................................................................


core: null checks in IconUtils

Added null checks to avoid NullPointerException when
vmBase.getLargeIconId() == null. This happens, for example, when
NEXT_RUN snapshot is applied as it doesn't contain icons.

Change-Id: I162f69ae2cd31d26bd8835b0a6f77926bb7b1bb4
Signed-off-by: Shmuel Melamud <smelamud at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/utils/IconUtils.java
1 file changed, 8 insertions(+), 2 deletions(-)

Approvals:
  Jakub Niedermertl: Looks good to me, but someone else must approve
  Shmuel Leib Melamud: Verified
  Omer Frenkel: Looks good to me, approved



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I162f69ae2cd31d26bd8835b0a6f77926bb7b1bb4
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Shmuel Leib Melamud <smelamud at redhat.com>
Gerrit-Reviewer: Jakub Niedermertl <jniederm at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Omer Frenkel <ofrenkel at redhat.com>
Gerrit-Reviewer: Shmuel Leib Melamud <smelamud at redhat.com>
Gerrit-Reviewer: Shmuel Melamud <smelamud at redhat.com>
Gerrit-Reviewer: automation at ovirt.org



More information about the Engine-commits mailing list