Skip to content

Commit

Permalink
Merge pull request #38 from michaelneale/master
Browse files Browse the repository at this point in the history
[JENKINS-34047] Case insensitive sorting
  • Loading branch information
recena committed Apr 7, 2016
2 parents 3425908 + dd72830 commit 4d17929
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -77,6 +77,7 @@
import java.util.Map;
import java.util.Set;
import java.util.TreeSet;
import java.util.Comparator;
import java.util.logging.Level;
import java.util.logging.Logger;

Expand Down Expand Up @@ -496,7 +497,7 @@ public ListBoxModel doFillScanCredentialsIdItems(@AncestorInPath SCMSourceOwner

public ListBoxModel doFillRepositoryItems(@AncestorInPath SCMSourceOwner context, @QueryParameter String apiUri,
@QueryParameter String scanCredentialsId, @QueryParameter String repoOwner) {
Set<String> result = new TreeSet<>();
Set<String> result = new TreeSet<>(String.CASE_INSENSITIVE_ORDER);

repoOwner = Util.fixEmptyAndTrim(repoOwner);
if (repoOwner == null) {
Expand Down

0 comments on commit 4d17929

Please sign in to comment.