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 <[email protected]>
---
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 <[email protected]>
Gerrit-Reviewer: Lior Vernia <[email protected]>
Gerrit-Reviewer: Mike Kolesnik <[email protected]>
Gerrit-Reviewer: Moti Asayag <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to