aboutsummaryrefslogtreecommitdiff
path: root/src/Kotlin
diff options
context:
space:
mode:
authorSergey Mashkov <sergey.mashkov@jetbrains.com>2015-07-27 16:11:36 +0300
committerSergey Mashkov <sergey.mashkov@jetbrains.com>2015-07-27 16:33:10 +0300
commit87edf7c5778a9e1ac3e17c9046110d69e8d197a6 (patch)
tree34cc927f19b0cf7149c502e0c04249cc6663c81f /src/Kotlin
parentbefbe69c3863b1048b585e795ec2f99d5a10390e (diff)
downloaddokka-87edf7c5778a9e1ac3e17c9046110d69e8d197a6.tar.gz
dokka-87edf7c5778a9e1ac3e17c9046110d69e8d197a6.tar.bz2
dokka-87edf7c5778a9e1ac3e17c9046110d69e8d197a6.zip
Eliminate warnings caused by API changes
Diffstat (limited to 'src/Kotlin')
-rw-r--r--src/Kotlin/ContentBuilder.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Kotlin/ContentBuilder.kt b/src/Kotlin/ContentBuilder.kt
index 273009ab..34018217 100644
--- a/src/Kotlin/ContentBuilder.kt
+++ b/src/Kotlin/ContentBuilder.kt
@@ -121,7 +121,7 @@ fun DocumentationBuilder.functionBody(descriptor: DeclarationDescriptor, functio
return ContentBlockCode().let() { it.append(ContentText("Missing function name in @sample")); it }
}
val scope = getResolutionScope(resolutionFacade, descriptor)
- val rootPackage = session.getModuleDescriptor().getPackage(FqName.ROOT)!!
+ val rootPackage = session.getModuleDescriptor().getPackage(FqName.ROOT)
val rootScope = rootPackage.memberScope
val symbol = resolveInScope(functionName, scope) ?: resolveInScope(functionName, rootScope)
if (symbol == null) {