8267574: Dead code in HtmlStyle/HtmlDocletWriter

Reviewed-by: hannesw
This commit is contained in:
Jonathan Gibbons 2021-05-25 17:36:50 +00:00
parent 2ef2450aa6
commit 594d454475
3 changed files with 2 additions and 11 deletions

View File

@ -690,13 +690,6 @@ public class HtmlDocletWriter {
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.
*

View File

@ -62,7 +62,6 @@ public enum HtmlStyle {
index,
inheritance,
inheritedList,
interfaceName,
legalCopy,
memberNameLabel,
memberNameLink,

View File

@ -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;
}
/*