From 146764aca661d51daa298c7cfe6b9b5efcff7e5f Mon Sep 17 00:00:00 2001 From: Dmitry Jemerov Date: Thu, 26 Feb 2015 19:08:59 +0100 Subject: stop generating separate pages for property accessors --- src/Java/JavaDocumentationBuilder.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Java/JavaDocumentationBuilder.kt') diff --git a/src/Java/JavaDocumentationBuilder.kt b/src/Java/JavaDocumentationBuilder.kt index 4652500e..8183df8f 100644 --- a/src/Java/JavaDocumentationBuilder.kt +++ b/src/Java/JavaDocumentationBuilder.kt @@ -18,7 +18,7 @@ public class JavaDocumentationBuilder(private val options: DocumentationOptions, fun parseDocumentation(docComment: PsiDocComment?): JavadocParseResult { if (docComment == null) return JavadocParseResult(Content.Empty, null) - val result = Content() + val result = MutableContent() var deprecatedContent: Content? = null val para = ContentParagraph() result.append(para) @@ -56,7 +56,7 @@ public class JavaDocumentationBuilder(private val options: DocumentationOptions, } } - private fun Content.convertSeeTag(tag: PsiDocTag) { + private fun MutableContent.convertSeeTag(tag: PsiDocTag) { val seeSection = findSectionByTag("See Also") ?: addSection("See Also", null) val linkNode = resolveLink(tag.getValueElement()) val text = ContentText(tag.getValueElement()!!.getText()) -- cgit