diff options
author | Dmitry Jemerov <yole@jetbrains.com> | 2015-10-30 12:24:33 +0100 |
---|---|---|
committer | Dmitry Jemerov <yole@jetbrains.com> | 2015-10-30 12:24:33 +0100 |
commit | f60beb6e45720ff44ba4e4db915f5e462fb3b907 (patch) | |
tree | d19fcbb67842486cd111f26e9527027e94ac896f /src/main.kt | |
parent | af5cd353271120a6ef9853a3913d5e828747178e (diff) | |
download | dokka-f60beb6e45720ff44ba4e4db915f5e462fb3b907.tar.gz dokka-f60beb6e45720ff44ba4e4db915f5e462fb3b907.tar.bz2 dokka-f60beb6e45720ff44ba4e4db915f5e462fb3b907.zip |
fix Kotlin warnings
Diffstat (limited to 'src/main.kt')
-rw-r--r-- | src/main.kt | 4 |
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") |