Juan Hernandez has submitted this change and it was merged.
Change subject: codegen: Handle plural exceptions
......................................................................
codegen: Handle plural exceptions
The rules for forming plurals are more complicated than just adding a
"s" to the end of the word. We need to implement them correctly, or have
a table of exceptions. For simplicity this patch introduces a table of
exceptions.
Change-Id: I02d75c47af205f25dfe00c1c98dc0045f5d463f6
Bug-Url:
https://bugzilla.redhat.com/1113548
Signed-off-by: Juan Hernandez <juan.hernandez(a)redhat.com>
(cherry picked from commit c8d3d7484ec08109b49c42c717ace5e187bd23f7)
---
M
ovirt-engine-sdk-java-codegen/src/main/java/org/ovirt/engine/sdk/codegen/utils/StringUtils.java
1 file changed, 39 insertions(+), 15 deletions(-)
Approvals:
Juan Hernandez: Verified; Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/29575
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I02d75c47af205f25dfe00c1c98dc0045f5d463f6
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine-sdk-java
Gerrit-Branch: sdk_3.5
Gerrit-Owner: Juan Hernandez <juan.hernandez(a)redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernandez(a)redhat.com>
Gerrit-Reviewer: automation(a)ovirt.org