提交 37401f9d 编写于 作者: J jjg

8013887: In class use, some tables are randomly unsorted

Reviewed-by: bpatel
上级 27202bd6
...@@ -25,8 +25,16 @@ ...@@ -25,8 +25,16 @@
package com.sun.tools.doclets.formats.html; package com.sun.tools.doclets.formats.html;
import java.io.*; import java.io.IOException;
import java.util.*; import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.SortedSet;
import java.util.TreeSet;
import com.sun.javadoc.*; import com.sun.javadoc.*;
import com.sun.tools.doclets.formats.html.markup.*; import com.sun.tools.doclets.formats.html.markup.*;
...@@ -95,7 +103,7 @@ public class ClassUseWriter extends SubWriterHolderWriter { ...@@ -95,7 +103,7 @@ public class ClassUseWriter extends SubWriterHolderWriter {
super(configuration, filename); super(configuration, filename);
this.classdoc = classdoc; this.classdoc = classdoc;
if (mapper.classToPackageAnnotations.containsKey(classdoc.qualifiedName())) if (mapper.classToPackageAnnotations.containsKey(classdoc.qualifiedName()))
pkgToPackageAnnotations = new HashSet<PackageDoc>(mapper.classToPackageAnnotations.get(classdoc.qualifiedName())); pkgToPackageAnnotations = new TreeSet<PackageDoc>(mapper.classToPackageAnnotations.get(classdoc.qualifiedName()));
configuration.currentcd = classdoc; configuration.currentcd = classdoc;
this.pkgSet = new TreeSet<PackageDoc>(); this.pkgSet = new TreeSet<PackageDoc>();
this.pkgToClassTypeParameter = pkgDivide(mapper.classToClassTypeParam); this.pkgToClassTypeParameter = pkgDivide(mapper.classToClassTypeParam);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册