Juan Hernandez has submitted this change and it was merged.
Change subject: restapi: Set the reference to model in the anonymous module
......................................................................
restapi: Set the reference to model in the anonymous module
Currently the anonymous module of the model doesn't link back to the
model, and the primitive types don't link back to the anonymous module.
The result of this is that calling the "getModel" method on primitive
types like "boolean" returns null, potentially causing null pointer
exceptions. This patch changes the "Model" class so that the anonymous
module links correctly to the model, and so that the primitive types
link correctly to the anonymous module.
Change-Id: I2475ec3ac9f84496bf389c49c2b21e1ea9b94b2a
Signed-off-by: Juan Hernandez <juan.hernandez(a)redhat.com>
---
M
backend/manager/modules/restapi/metamodel/concepts/src/main/java/org/ovirt/api/metamodel/concepts/Model.java
1 file changed, 6 insertions(+), 0 deletions(-)
Approvals:
Juan Hernandez: Verified; Looks good to me, approved
Jenkins CI: Passed CI tests
--
To view, visit
https://gerrit.ovirt.org/49327
To unsubscribe, visit
https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I2475ec3ac9f84496bf389c49c2b21e1ea9b94b2a
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Juan Hernandez <juan.hernandez(a)redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Juan Hernandez <juan.hernandez(a)redhat.com>
Gerrit-Reviewer: Ori Liel <oliel(a)redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation(a)ovirt.org>