aboutsummaryrefslogtreecommitdiff
path: root/src/main.kt
diff options
context:
space:
mode:
authorDmitry Jemerov <yole@jetbrains.com>2015-10-30 12:24:33 +0100
committerDmitry Jemerov <yole@jetbrains.com>2015-10-30 12:24:33 +0100
commitf60beb6e45720ff44ba4e4db915f5e462fb3b907 (patch)
treed19fcbb67842486cd111f26e9527027e94ac896f /src/main.kt
parentaf5cd353271120a6ef9853a3913d5e828747178e (diff)
downloaddokka-f60beb6e45720ff44ba4e4db915f5e462fb3b907.tar.gz
dokka-f60beb6e45720ff44ba4e4db915f5e462fb3b907.tar.bz2
dokka-f60beb6e45720ff44ba4e4db915f5e462fb3b907.zip
fix Kotlin warnings
Diffstat (limited to 'src/main.kt')
-rw-r--r--src/main.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.kt b/src/main.kt
index a534ffdd..1d2442f2 100644
--- a/src/main.kt
+++ b/src/main.kt
@@ -146,7 +146,7 @@ class DokkaGenerator(val logger: DokkaLogger,
logger.info("Module: $moduleName")
logger.info("Output: ${File(outputDir).absolutePath}")
- logger.info("Sources: ${environment.sources.join()}")
+ logger.info("Sources: ${environment.sources.joinToString()}")
logger.info("Classpath: ${environment.classpath.joinToString()}")
logger.info("Analysing sources and libraries... ")
@@ -160,7 +160,7 @@ class DokkaGenerator(val logger: DokkaLogger,
val timeBuild = measureTimeMillis {
logger.info("Generating pages... ")
- Guice.createInjector(GuiceModule(this)).getInstance(javaClass<Generator>()).buildAll(documentation)
+ Guice.createInjector(GuiceModule(this)).getInstance(Generator::class.java).buildAll(documentation)
}
logger.info("done in ${timeBuild / 1000} secs")