Skip to content

Commit 8c13d26

Browse files
8263050: move HtmlDocletWriter.verticalSeparator to IndexWriter
Reviewed-by: prappo
1 parent 8d3de4b commit 8c13d26

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/HtmlDocletWriter.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2165,10 +2165,6 @@ private List<DocPath> getStylesheets(Element element) throws DocFileIOException
21652165
return localStylesheets;
21662166
}
21672167

2168-
Content getVerticalSeparator() {
2169-
return HtmlTree.SPAN(HtmlStyle.verticalSeparator, Text.of("|"));
2170-
}
2171-
21722168
public void addPreviewSummary(Element forWhat, Content target) {
21732169
if (utils.isPreviewAPI(forWhat)) {
21742170
Content div = HtmlTree.DIV(HtmlStyle.block);

src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/IndexWriter.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -370,4 +370,8 @@ protected void addLinksForIndexes(List<Character> allFirstCharacters, Content co
370370
.collect(Collectors.toList());
371371
contentTree.add(contents.join(getVerticalSeparator(), pageLinks));
372372
}
373+
374+
private Content getVerticalSeparator() {
375+
return HtmlTree.SPAN(HtmlStyle.verticalSeparator, Text.of("|"));
376+
}
373377
}

0 commit comments

Comments
 (0)