Permalink
Browse files

Merge pull request #38 from michaelneale/master

[JENKINS-34047] Case insensitive sorting
  • Loading branch information...
recena committed Apr 7, 2016
2 parents 3425908 + dd72830 commit 4d1792912c3d87654b5524b83767406d4851c81b
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubSCMSource.java
@@ -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;

@@ -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) {

0 comments on commit 4d17929

Please sign in to comment.