Change in ovirt-engine[master]: core: StorageDomain.getId() with null static data

amureini at redhat.com amureini at redhat.com
Wed Oct 14 22:57:21 UTC 2015


Allon Mureinik has submitted this change and it was merged.

Change subject: core: StorageDomain.getId() with null static data
......................................................................


core: StorageDomain.getId() with null static data

If a StorageDomain object's static data is null, getId() should return
null, not crash with a NullPointerException.

This patch fixes Coverity issue #1062039.

Change-Id: I9a904a5a4ff4724f612118f4aabd0cbc2600caf4
Signed-off-by: Allon Mureinik <amureini at redhat.com>
---
M backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/StorageDomain.java
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Jenkins CI: Passed CI tests
  Daniel Erez: Looks good to me, approved
  Allon Mureinik: Verified



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I9a904a5a4ff4724f612118f4aabd0cbc2600caf4
Gerrit-PatchSet: 2
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: Jenkins CI
Gerrit-Reviewer: Tal Nisan <tnisan at redhat.com>
Gerrit-Reviewer: automation at ovirt.org



More information about the Engine-commits mailing list