Moti Asayag has posted comments on this change. Change subject: aaa: Adding namespace sorting ......................................................................
Patch Set 6: (1 comment) http://gerrit.ovirt.org/#/c/31648/6/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/GetAvailableNamespacesQuery.java File backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/GetAvailableNamespacesQuery.java: Line 33: MultiValueMapUtils.addToMap(AuthzUtils.getName(authz), namespace, namespacesMap); Line 34: Line 35: } Line 36: } Line 37: for (Entry<String, List<String>> entry : namespacesMap.entrySet()) { why not use namespacesMap.values() and Collections.sort(entry) ? Line 38: Collections.sort(entry.getValue()); Line 39: } Line 40: setReturnValue(namespacesMap); Line 41: } -- To view, visit http://gerrit.ovirt.org/31648 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I24015f7116f0cd307f9969c89744fdab14f27fa6 Gerrit-PatchSet: 6 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Yair Zaslavsky <[email protected]> Gerrit-Reviewer: Alon Bar-Lev <[email protected]> Gerrit-Reviewer: Alona Kaplan <[email protected]> Gerrit-Reviewer: Moti Asayag <[email protected]> Gerrit-Reviewer: [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
