Change in ovirt-engine-sdk-java[master]: codegen: Handle plural exceptions

juan.hernandez at redhat.com juan.hernandez at redhat.com
Fri Jul 4 08:42:47 UTC 2014


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 at redhat.com>
---
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/29568
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I02d75c47af205f25dfe00c1c98dc0045f5d463f6
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine-sdk-java
Gerrit-Branch: master
Gerrit-Owner: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Martin Sivák <msivak at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list