RFR: JDK-8267574: Dead code in HtmlStyle/HtmlDocletWriter
Hannes Wallnöfer
hannesw at openjdk.java.net
Tue May 25 08:40:05 UTC 2021
On Sat, 22 May 2021 16:18:00 GMT, Jonathan Gibbons <jjg at openjdk.org> wrote:
> Please review a simple `noreg-cleanup` change to remove some dead code.
Looks good, but I found another potential cleanup target close by (see inline comment).
src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/resources/stylesheet.css line 580:
> 578: display:inline-block;
> 579: }
> 580: div.block div.deprecation-comment, div.block div.block span.emphasized-phrase {
A quick search through the code and generated docs suggests that `emphasized-phrase` is unused as well. Should this also be removed?
-------------
Marked as reviewed by hannesw (Reviewer).
PR: https://git.openjdk.java.net/jdk/pull/4154
More information about the javadoc-dev
mailing list