diff options
author | Kamil Doległo <kamilok1965@interia.pl> | 2020-02-19 12:02:17 +0100 |
---|---|---|
committer | Paweł Marks <Kordyjan@users.noreply.github.com> | 2020-02-19 12:19:42 +0100 |
commit | 16c84aff273a4bcef88f7e808e8b8eba2e7fd313 (patch) | |
tree | 46577bc2f9f456c417075ba4ac4caa92cc69d0f9 /core/src | |
parent | 91b5b4cc19a4ef6155cadba04ad016625402b00e (diff) | |
download | dokka-16c84aff273a4bcef88f7e808e8b8eba2e7fd313.tar.gz dokka-16c84aff273a4bcef88f7e808e8b8eba2e7fd313.tar.bz2 dokka-16c84aff273a4bcef88f7e808e8b8eba2e7fd313.zip |
Remove unnecessary cast
Diffstat (limited to 'core/src')
-rw-r--r-- | core/src/main/kotlin/parsers/MarkdownParser.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/main/kotlin/parsers/MarkdownParser.kt b/core/src/main/kotlin/parsers/MarkdownParser.kt index 74569bd7..6afcbee6 100644 --- a/core/src/main/kotlin/parsers/MarkdownParser.kt +++ b/core/src/main/kotlin/parsers/MarkdownParser.kt @@ -309,7 +309,7 @@ class MarkdownParser ( DocumentationNode(emptyList()) else DocumentationNode( - (listOf(kDocTag) + getAllKDocTags(findParent(kDocTag) as KDocImpl)).map { + (listOf(kDocTag) + getAllKDocTags(findParent(kDocTag))).map { when (it.knownTag) { null -> if (it.name == null) Description(parseStringToDocNode(it.getContent())) else CustomWrapperTag( parseStringToDocNode(it.getContent()), |