Gilad Chaplik has posted comments on this change.
Change subject: webadmin: sort cluster policy list
......................................................................
Patch Set 1:
(1 comment)
....................................................
File
frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/configure/scheduling/ClusterPolicyListModel.java
Line 144: * pre-defined cluster policies should be ordered first, then
order lexicographically
Line 145: * @param list - cluster policy list
Line 146: */
Line 147: private void sortClusterPolicyList(ArrayList<ClusterPolicy> list)
{
Line 148: final LexoNumericComparator lexoNumeric = new
LexoNumericComparator();
Done
Line 149: Collections.sort(list, new Comparator<ClusterPolicy>() {
Line 150:
Line 151: @Override
Line 152: public int compare(ClusterPolicy cp1, ClusterPolicy cp2) {
--
To view, visit http://gerrit.ovirt.org/18307
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I46c5de299ea7d4d0cd53dc6538d25b8f7337d0e6
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Gilad Chaplik <[email protected]>
Gerrit-Reviewer: Daniel Erez <[email protected]>
Gerrit-Reviewer: Gilad Chaplik <[email protected]>
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches