aboutsummaryrefslogtreecommitdiff
path: root/src/Model/DocumentationBuildingVisitor.kt
diff options
context:
space:
mode:
Diffstat (limited to 'src/Model/DocumentationBuildingVisitor.kt')
-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
}