Skip to content

Commit

Permalink
Migrate from hudson.util.CaseInsensitiveComparator to Java `String.…
Browse files Browse the repository at this point in the history
…CASE_INSENSITIVE_ORDER` (#28)
  • Loading branch information
basil authored Oct 7, 2024
1 parent 993d177 commit 391f62d
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
import hudson.model.Items;
import hudson.model.Saveable;
import hudson.model.TopLevelItem;
import hudson.util.CaseInsensitiveComparator;
import hudson.util.DescribableList;
import hudson.util.EnumConverter;
import hudson.views.ViewJobFilter;
Expand Down Expand Up @@ -63,7 +62,7 @@ public SectionedViewSection(String name, Width width, Positioning alignment) {
/**
* List of job names. This is what gets serialized.
*/
/*package*/ final SortedSet<String> jobNames = new TreeSet<String>(CaseInsensitiveComparator.INSTANCE);
/*package*/ final SortedSet<String> jobNames = new TreeSet<String>(String.CASE_INSENSITIVE_ORDER);
/*package*/ DescribableList<ViewJobFilter, Descriptor<ViewJobFilter>> jobFilters;

private String name;
Expand Down

0 comments on commit 391f62d

Please sign in to comment.