Change in ovirt-engine[master]: restapi: Improve the sorting of model names

juan.hernandez at redhat.com juan.hernandez at redhat.com
Tue Nov 17 09:10:16 UTC 2015


Juan Hernandez has submitted this change and it was merged.

Change subject: restapi: Improve the sorting of model names
......................................................................


restapi: Improve the sorting of model names

Currently the names of model concepts are sorted comparing their string
representation. This is a stable sorting, but it is better to sort
lexicographically, as that is more human readable.

Change-Id: I34ef9eaace1870ecfb8b81a69e8f2a2accd0a65a
Signed-off-by: Juan Hernandez <juan.hernandez at redhat.com>
---
M backend/manager/modules/restapi/metamodel/concepts/pom.xml
M backend/manager/modules/restapi/metamodel/concepts/src/main/java/org/ovirt/api/metamodel/concepts/Name.java
A backend/manager/modules/restapi/metamodel/concepts/src/test/java/org/ovirt/api/metamodel/concepts/NameTest.java
M backend/manager/modules/restapi/metamodel/pom.xml
4 files changed, 130 insertions(+), 1 deletion(-)

Approvals:
  Juan Hernandez: Verified; Looks good to me, approved
  Jenkins CI: Passed CI tests



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I34ef9eaace1870ecfb8b81a69e8f2a2accd0a65a
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Ori Liel <oliel at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list