aboutsummaryrefslogtreecommitdiff
path: root/core/src/main/kotlin/Kotlin/KotlinLanguageService.kt
diff options
context:
space:
mode:
authorXerus <27jf@web.de>2018-12-13 17:45:46 +0100
committerXerus <27jf@web.de>2018-12-13 17:45:46 +0100
commitec2dfa898b4cf2613ca15cd959a43f4f590005d3 (patch)
tree05d830e360633b36d580ce2759c83070e3c51bed /core/src/main/kotlin/Kotlin/KotlinLanguageService.kt
parent17dd9747828a2ba8275714dc421a415c68d01615 (diff)
downloaddokka-ec2dfa898b4cf2613ca15cd959a43f4f590005d3.tar.gz
dokka-ec2dfa898b4cf2613ca15cd959a43f4f590005d3.tar.bz2
dokka-ec2dfa898b4cf2613ca15cd959a43f4f590005d3.zip
Fix IDEA Inspections
Diffstat (limited to 'core/src/main/kotlin/Kotlin/KotlinLanguageService.kt')
-rw-r--r--core/src/main/kotlin/Kotlin/KotlinLanguageService.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/main/kotlin/Kotlin/KotlinLanguageService.kt b/core/src/main/kotlin/Kotlin/KotlinLanguageService.kt
index f33c8c96..597002fb 100644
--- a/core/src/main/kotlin/Kotlin/KotlinLanguageService.kt
+++ b/core/src/main/kotlin/Kotlin/KotlinLanguageService.kt
@@ -55,7 +55,7 @@ class KotlinLanguageService : LanguageService {
}
private fun List<DocumentationNode>.getReceiverKind(): ReceiverKind? {
- val qNames = map { it.getReceiverQName() }.filterNotNull()
+ val qNames = mapNotNull { it.getReceiverQName() }
if (qNames.size != size)
return null