Skip to content
Permalink
Browse files
8267574: Dead code in HtmlStyle/HtmlDocletWriter
Reviewed-by: hannesw
  • Loading branch information
jonathan-gibbons committed May 25, 2021
1 parent 2ef2450 commit 594d4544759a240690ed4c0432c8140b852aea5a
@@ -690,13 +690,6 @@ public Content getModuleLink(ModuleElement mdle, Content label) {
return label;
}

public Content interfaceName(TypeElement typeElement, boolean qual) {
Content name = Text.of((qual)
? typeElement.getQualifiedName()
: utils.getSimpleName(typeElement));
return (utils.isInterface(typeElement)) ? HtmlTree.SPAN(HtmlStyle.interfaceName, name) : name;
}

/**
* Add the link to the content tree.
*
@@ -62,7 +62,6 @@
index,
inheritance,
inheritedList,
interfaceName,
legalCopy,
memberNameLabel,
memberNameLink,
@@ -552,7 +552,7 @@ h1.hidden {
.package-hierarchy-label, .type-name-label, .type-name-link, .search-tag-link, .preview-label {
font-weight:bold;
}
.deprecation-comment, .help-footnote, .interface-name, .preview-comment {
.deprecation-comment, .help-footnote, .preview-comment {
font-style:italic;
}
.deprecation-block {
@@ -577,8 +577,7 @@ h1.hidden {
margin-right:10px;
display:inline-block;
}
div.block div.deprecation-comment, div.block div.block span.emphasized-phrase,
div.block div.block span.interface-name {
div.block div.deprecation-comment {
font-style:normal;
}
/*

1 comment on commit 594d454

@openjdk-notifier

This comment has been minimized.

Copy link

@openjdk-notifier openjdk-notifier bot commented on 594d454 May 25, 2021

Please sign in to comment.