mooli tayer has uploaded a new change for review. Change subject: aaa: sort domain names a-b ascending. ......................................................................
aaa: sort domain names a-b ascending. Change-Id: Ia3d0a64c872f8d2a018be08587303b5358c3a18c Topic: AAA Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1115549 Signed-off-by: Mooli Tayer <[email protected]> --- M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/GetAAAProfileListQuery.java 1 file changed, 3 insertions(+), 0 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/17/30017/1 diff --git a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/GetAAAProfileListQuery.java b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/GetAAAProfileListQuery.java index cd52396..64e2df6 100644 --- a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/GetAAAProfileListQuery.java +++ b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/GetAAAProfileListQuery.java @@ -1,6 +1,7 @@ package org.ovirt.engine.core.bll; import java.util.ArrayList; +import java.util.Collections; import java.util.List; import org.ovirt.engine.core.aaa.AuthenticationProfile; @@ -20,6 +21,8 @@ for (AuthenticationProfile profile : profiles) { names.add(profile.getName()); } + Collections.sort(names); + getQueryReturnValue().setReturnValue(names); } -- To view, visit http://gerrit.ovirt.org/30017 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ia3d0a64c872f8d2a018be08587303b5358c3a18c Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: ovirt-engine-3.5 Gerrit-Owner: mooli tayer <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
