Juan Hernandez has posted comments on this change.

Change subject: core: sort domain names a-b ascending, 'internal' always last.
......................................................................


Patch Set 1:

(1 comment)

http://gerrit.ovirt.org/#/c/29721/1/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/GetAAAProfileListQuery.java
File 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/GetAAAProfileListQuery.java:

Line 25:             names.add(profile.getName());
Line 26:         }
Line 27: 
Line 28:         // Sort it so that the internal profile is always the last:
Line 29:         sort(names, new LoginDomainComparator(Config.<String> 
getValue(ConfigValues.AdminDomain)));
Not sure if there is an "internal" profile any longer, or if its name has any 
relation to ConfigValues.AdminDomain. I'd suggest to abandon the idea of 
displaying "internal" last.
Line 30: 
Line 31:         getQueryReturnValue().setReturnValue(names);
Line 32:     }
Line 33: 


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

Gerrit-MessageType: comment
Gerrit-Change-Id: Ia3d0a64c872f8d2a018be08587303b5358c3a18c
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: mooli tayer <mta...@redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernan...@redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzasl...@redhat.com>
Gerrit-Reviewer: automat...@ovirt.org
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to