Change in ovirt-engine[master]: core: Added LexoNumericComparator utility

mkolesni at redhat.com mkolesni at redhat.com
Mon Feb 18 08:50:32 UTC 2013


Mike Kolesnik has submitted this change and it was merged.

Change subject: core: Added LexoNumericComparator utility
......................................................................


core: Added LexoNumericComparator utility

This utility helps to sort strings which include numeric subsequences
according to sensible ordering - sorting numeric subsequences
numerically, and the rest lexicographically.

A corresponding test class is added.

Change-Id: I8c68446ea6f1865a51455a0a359df339bfb15bba
Signed-off-by: Lior Vernia <lvernia at redhat.com>
---
A backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/utils/LexoNumericComparator.java
A backend/manager/modules/common/src/test/java/org/ovirt/engine/core/common/utils/LexoNumericComparatorTest.java
2 files changed, 179 insertions(+), 0 deletions(-)

Approvals:
  Mike Kolesnik: Looks good to me, approved
  Lior Vernia: Verified


--
To view, visit http://gerrit.ovirt.org/11996
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I8c68446ea6f1865a51455a0a359df339bfb15bba
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Lior Vernia <lvernia at redhat.com>
Gerrit-Reviewer: Lior Vernia <lvernia at redhat.com>
Gerrit-Reviewer: Mike Kolesnik <mkolesni at redhat.com>
Gerrit-Reviewer: Moti Asayag <masayag at redhat.com>



More information about the Engine-commits mailing list