From 9d7f9fec41d33a636b19125b582c2aeb24a8b6e5 Mon Sep 17 00:00:00 2001 From: KrystianUjma Date: Thu, 23 May 2019 16:26:02 +0200 Subject: #465 - fix javadoc parameters generation for java classes --- core/src/main/kotlin/javadoc/docbase.kt | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'core/src/main') diff --git a/core/src/main/kotlin/javadoc/docbase.kt b/core/src/main/kotlin/javadoc/docbase.kt index ace4ae0c..62d0ee26 100644 --- a/core/src/main/kotlin/javadoc/docbase.kt +++ b/core/src/main/kotlin/javadoc/docbase.kt @@ -531,7 +531,11 @@ private fun DocumentationNodeAdapter.collectParamTags(kind: NodeKind, sectionFil + node.content.sections .filter(sectionFilter) - .map { ParamTagAdapter(module, this, it.subjectName ?: "?", true, it.children) } + .map { + ParamTagAdapter(module, this, it.subjectName ?: "?", true, + it.children.filterNot { contentNode -> contentNode is LazyContentBlock } ) - .distinctBy { it.parameterName } - .toTypedArray() \ No newline at end of file + } + ) + .distinctBy { it.parameterName } + .toTypedArray() \ No newline at end of file -- cgit