mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 23:34:52 +02:00
8189841: Error in alternate row coloring in package-summary files
Reviewed-by: bpatel, ksrini
This commit is contained in:
parent
16b93f1b06
commit
cf81232570
8 changed files with 337 additions and 1 deletions
|
@ -292,11 +292,11 @@ public class PackageWriterImpl extends HtmlDocletWriter
|
|||
Content tbody = new HtmlTree(HtmlTag.TBODY);
|
||||
boolean altColor = false;
|
||||
for (TypeElement klass : classes) {
|
||||
altColor = !altColor;
|
||||
if (!utils.isCoreClass(klass) ||
|
||||
!configuration.isGeneratedDoc(klass)) {
|
||||
continue;
|
||||
}
|
||||
altColor = !altColor;
|
||||
Content classContent = getLink(new LinkInfoImpl(
|
||||
configuration, LinkInfoImpl.Kind.PACKAGE, klass));
|
||||
Content thClass = HtmlTree.TH_ROW_SCOPE(HtmlStyle.colFirst, classContent);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue