Skip to content
Permalink
Browse files
8263050: move HtmlDocletWriter.verticalSeparator to IndexWriter
Reviewed-by: prappo
  • Loading branch information
jonathan-gibbons committed Mar 5, 2021
1 parent 8d3de4b commit 8c13d26dae06addc161edf80be79abbd4bc4839b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
@@ -2165,10 +2165,6 @@ private List<DocPath> getStylesheets(Element element) throws DocFileIOException
return localStylesheets;
}

Content getVerticalSeparator() {
return HtmlTree.SPAN(HtmlStyle.verticalSeparator, Text.of("|"));
}

public void addPreviewSummary(Element forWhat, Content target) {
if (utils.isPreviewAPI(forWhat)) {
Content div = HtmlTree.DIV(HtmlStyle.block);
@@ -370,4 +370,8 @@ protected void addLinksForIndexes(List<Character> allFirstCharacters, Content co
.collect(Collectors.toList());
contentTree.add(contents.join(getVerticalSeparator(), pageLinks));
}

private Content getVerticalSeparator() {
return HtmlTree.SPAN(HtmlStyle.verticalSeparator, Text.of("|"));
}
}

0 comments on commit 8c13d26

Please sign in to comment.