Skip to content

Commit

Permalink
Bug 552642: generated javax.inject.Named index should be sorted
Browse files Browse the repository at this point in the history
  • Loading branch information
mcculls committed Nov 6, 2019
1 parent f4d69f7 commit 570e81a
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -16,10 +16,10 @@
import java.io.Reader;
import java.io.Writer;
import java.util.LinkedHashMap;
import java.util.LinkedHashSet;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Set;
import java.util.TreeSet;

/**
* Skeleton class that generates a qualified class index.
Expand Down Expand Up @@ -122,7 +122,7 @@ protected abstract Writer getWriter( final String path )
*/
private Set<String> readTable( final Object name )
{
final Set<String> table = new LinkedHashSet<String>();
final Set<String> table = new TreeSet<String>();
try
{
final BufferedReader reader = new BufferedReader( getReader( INDEX_FOLDER + name ) );
Expand Down

0 comments on commit 570e81a

Please sign in to comment.