Skip to content

Commit

Permalink
Use a TreeSet as we always did.
Browse files Browse the repository at this point in the history
  • Loading branch information
cmnbroad committed Jan 3, 2023
1 parent d0848e3 commit d6a1bd7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
import javax.lang.model.type.TypeKind;
import javax.lang.model.util.ElementScanner14;
import javax.tools.Diagnostic;
import java.util.LinkedHashSet;
import java.util.Set;
import java.util.TreeSet;

/**
* An {@link ElementScanner14} for finding {@link DocumentedFeature}s to be included in a Barclay doc
Expand All @@ -23,7 +23,7 @@ public class DocumentedFeatureScanner extends ElementScanner14<Void, Void> {
private final HelpDoclet helpDoclet;
private final DocletEnvironment docEnv;
private final Reporter reporter;
private Set<DocWorkUnit> workUnits = new LinkedHashSet<>(); // Set of all things we are going to document
private Set<DocWorkUnit> workUnits = new TreeSet<>(); // Set of all things we are going to document

/**
* For internal use only. External callers should use
Expand Down

0 comments on commit d6a1bd7

Please sign in to comment.