diff options
author | Kamil Doległo <kamilok1965@interia.pl> | 2019-11-19 19:48:13 +0100 |
---|---|---|
committer | Błażej Kardyś <bkardys@virtuslab.com> | 2019-11-25 16:24:16 +0100 |
commit | b837c526608b29c8dfc1e9c405097bb8171c648b (patch) | |
tree | 8d5fabbd9a5dd84ab783983348c16e59767a1564 /core/src/main | |
parent | e9a8dda329390fa5dff310b830ffb95b5f76232e (diff) | |
download | dokka-b837c526608b29c8dfc1e9c405097bb8171c648b.tar.gz dokka-b837c526608b29c8dfc1e9c405097bb8171c648b.tar.bz2 dokka-b837c526608b29c8dfc1e9c405097bb8171c648b.zip |
Fix bad DRI parsing from string
This code produced list of params with an empty string value instead of an empty list, which made some DRIs not equal
Diffstat (limited to 'core/src/main')
-rw-r--r-- | core/src/main/kotlin/links/DRI.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/main/kotlin/links/DRI.kt b/core/src/main/kotlin/links/DRI.kt index 67b8643b..605840a7 100644 --- a/core/src/main/kotlin/links/DRI.kt +++ b/core/src/main/kotlin/links/DRI.kt @@ -90,7 +90,7 @@ data class Callable(val name: String, val receiver: String, val returnType: Stri name.toString(), receiver, returnType, - params.split('#') + params.split('#').filter { it.isNotBlank() } ) } } catch (e: Throwable) { |