8267574: Dead code in HtmlStyle/HtmlDocletWriter
Reviewed-by: hannesw
This commit is contained in:
parent
2ef2450aa6
commit
594d454475
@ -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.
|
||||
*
|
||||
|
@ -62,7 +62,6 @@ public enum HtmlStyle {
|
||||
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;
|
||||
}
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user