Juan Hernandez has submitted this change and it was merged.
Change subject: Freeze values of enum types
......................................................................
Freeze values of enum types
Currently the values of enum types are plain strings, and that means
that they could be modified. To avoid that this patch calls the "freeze"
method on all of them, so that if something tries to modify them it will
generate an exception.
Change-Id: I1d78aa2e0aecdc30ad385ddc85a690d4da2e23f8
Signed-off-by: Juan Hernandez <juan.hernandez(a)redhat.com>
---
M generator/src/main/java/org/ovirt/sdk/ruby/TypesGenerator.java
M sdk/spec/enum_spec.rb
2 files changed, 5 insertions(+), 1 deletion(-)
Approvals:
Juan Hernandez: Verified; Looks good to me, approved
Jenkins CI: Passed CI tests
--
To view, visit
https://gerrit.ovirt.org/56747
To unsubscribe, visit
https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I1d78aa2e0aecdc30ad385ddc85a690d4da2e23f8
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine-sdk-ruby
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: gerrit-hooks <automation(a)ovirt.org>