aboutsummaryrefslogtreecommitdiff
path: root/src/Model
diff options
context:
space:
mode:
authorIlya Ryzhenkov <orangy@jetbrains.com>2014-07-16 15:24:34 +0400
committerIlya Ryzhenkov <orangy@jetbrains.com>2014-08-21 15:53:47 +0400
commitc86f6f5dac3aae2e4b26e911ad0d3b8e88c65375 (patch)
treec3d299c27acbd0ddc89e61775b1ecb21e26b6b7c /src/Model
parentd25b896ec692aeb35a5465b624508851c96dfd1d (diff)
downloaddokka-c86f6f5dac3aae2e4b26e911ad0d3b8e88c65375.tar.gz
dokka-c86f6f5dac3aae2e4b26e911ad0d3b8e88c65375.tar.bz2
dokka-c86f6f5dac3aae2e4b26e911ad0d3b8e88c65375.zip
Update to Kotlin API
Diffstat (limited to 'src/Model')
-rw-r--r--src/Model/DocumentationBuildingVisitor.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Model/DocumentationBuildingVisitor.kt b/src/Model/DocumentationBuildingVisitor.kt
index b544b42b..6118b0f5 100644
--- a/src/Model/DocumentationBuildingVisitor.kt
+++ b/src/Model/DocumentationBuildingVisitor.kt
@@ -82,8 +82,8 @@ class DocumentationBuildingVisitor(val context: BindingContext,
return node
}
- public override fun visitModuleDeclaration(descriptor: ModuleDescriptor?, data: DocumentationNode?): DocumentationNode? {
- val node = createDocumentation(descriptor!!, data!!)
+ public override fun visitModuleDeclaration(descriptor: ModuleDescriptor, data: DocumentationNode): DocumentationNode {
+ val node = createDocumentation(descriptor, data)
visitChild(descriptor.getPackage(FqName.ROOT), node)
return node
}