aboutsummaryrefslogtreecommitdiff
path: root/src/Model/PackageDocs.kt
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/Model/PackageDocs.kt
parentbefbe69c3863b1048b585e795ec2f99d5a10390e (diff)
downloaddokka-87edf7c5778a9e1ac3e17c9046110d69e8d197a6.tar.gz
dokka-87edf7c5778a9e1ac3e17c9046110d69e8d197a6.tar.bz2
dokka-87edf7c5778a9e1ac3e17c9046110d69e8d197a6.zip
Eliminate warnings caused by API changes
Diffstat (limited to 'src/Model/PackageDocs.kt')
-rw-r--r--src/Model/PackageDocs.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Model/PackageDocs.kt b/src/Model/PackageDocs.kt
index 3b0be547..b5b34942 100644
--- a/src/Model/PackageDocs.kt
+++ b/src/Model/PackageDocs.kt
@@ -13,8 +13,8 @@ public class PackageDocs(val documentationBuilder: DocumentationBuilder,
public val packageContent: Map<String, Content>
get() = _packageContent
- fun parse(file: String) {
- val file = File(file)
+ fun parse(path: String) {
+ val file = File(path)
if (file.exists()) {
val text = file.readText()
val tree = parseMarkdown(text)