Skip to content

Commit

Permalink
8267574: Dead code in HtmlStyle/HtmlDocletWriter
Browse files Browse the repository at this point in the history
Reviewed-by: hannesw
  • Loading branch information
jonathan-gibbons committed May 25, 2021
1 parent 2ef2450 commit 594d454
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ public enum HtmlStyle {
index,
inheritance,
inheritedList,
interfaceName,
legalCopy,
memberNameLabel,
memberNameLink,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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;
}
/*
Expand Down

0 comments on commit 594d454

Please sign in to comment.