aboutsummaryrefslogtreecommitdiff
path: root/javadoc/src/main/kotlin/docbase.kt
diff options
context:
space:
mode:
authorDmitry Jemerov <yole@jetbrains.com>2015-11-04 20:17:03 +0100
committerDmitry Jemerov <yole@jetbrains.com>2015-11-04 20:17:03 +0100
commitf50966b8da454a9dacc2b35267b2ffa11b227638 (patch)
treeaa12cc4090e2aaa937cc153b20aab2bb1f04d84b /javadoc/src/main/kotlin/docbase.kt
parent972118bcffbdf13ebd3aefd495618c4670bdc7b3 (diff)
downloaddokka-f50966b8da454a9dacc2b35267b2ffa11b227638.tar.gz
dokka-f50966b8da454a9dacc2b35267b2ffa11b227638.tar.bz2
dokka-f50966b8da454a9dacc2b35267b2ffa11b227638.zip
remove extra <p> tags from @param
Diffstat (limited to 'javadoc/src/main/kotlin/docbase.kt')
-rw-r--r--javadoc/src/main/kotlin/docbase.kt8
1 files changed, 5 insertions, 3 deletions
diff --git a/javadoc/src/main/kotlin/docbase.kt b/javadoc/src/main/kotlin/docbase.kt
index cdb4bbc7..19b29b00 100644
--- a/javadoc/src/main/kotlin/docbase.kt
+++ b/javadoc/src/main/kotlin/docbase.kt
@@ -308,9 +308,11 @@ open class ExecutableMemberAdapter(module: ModuleNodeAdapter, node: Documentatio
override fun isVarArgs(): Boolean = node.details(DocumentationNode.Kind.Parameter).any { false } // TODO
override fun isSynchronized(): Boolean = node.annotations.any { it.name == "synchronized" }
- override fun paramTags(): Array<out ParamTag> = node.details(DocumentationNode.Kind.Parameter).filter { it.content.summary !is ContentEmpty || it.content.description !is ContentEmpty || it.content.sections.isNotEmpty() }.map {
- ParamTagAdapter(module, this, it.name, false, it.content.children)
- }.toTypedArray()
+
+ override fun paramTags(): Array<out ParamTag> = node.details(DocumentationNode.Kind.Parameter)
+ .filter { it.content.summary !is ContentEmpty || it.content.description !is ContentEmpty || it.content.sections.isNotEmpty() }
+ .map { ParamTagAdapter(module, this, it.name, false, it.content.children) }
+ .toTypedArray()
override fun thrownExceptionTypes(): Array<out Type> = emptyArray()
override fun receiverType(): Type? = receiverNode()?.let { receiver -> TypeAdapter(module, receiver) }