aboutsummaryrefslogtreecommitdiff
path: root/core/src
diff options
context:
space:
mode:
authorKamil Doległo <kamilok1965@interia.pl>2020-02-19 12:02:17 +0100
committerPaweł Marks <Kordyjan@users.noreply.github.com>2020-02-19 12:19:42 +0100
commit16c84aff273a4bcef88f7e808e8b8eba2e7fd313 (patch)
tree46577bc2f9f456c417075ba4ac4caa92cc69d0f9 /core/src
parent91b5b4cc19a4ef6155cadba04ad016625402b00e (diff)
downloaddokka-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.kt2
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()),