aboutsummaryrefslogtreecommitdiff
path: root/src/Formats
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/Formats
parentaf5cd353271120a6ef9853a3913d5e828747178e (diff)
downloaddokka-f60beb6e45720ff44ba4e4db915f5e462fb3b907.tar.gz
dokka-f60beb6e45720ff44ba4e4db915f5e462fb3b907.tar.bz2
dokka-f60beb6e45720ff44ba4e4db915f5e462fb3b907.zip
fix Kotlin warnings
Diffstat (limited to 'src/Formats')
-rw-r--r--src/Formats/StandardFormats.kt20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/Formats/StandardFormats.kt b/src/Formats/StandardFormats.kt
index 1d5ffe13..658735c0 100644
--- a/src/Formats/StandardFormats.kt
+++ b/src/Formats/StandardFormats.kt
@@ -4,44 +4,44 @@ import org.jetbrains.dokka.*
class HtmlFormatDescriptor : FormatDescriptor {
override val formatServiceClass: Class<out FormatService>
- get() = javaClass<HtmlFormatService>()
+ get() = HtmlFormatService::class.java
override val outlineServiceClass: Class<out OutlineFormatService>
- get() = javaClass<HtmlFormatService>()
+ get() = HtmlFormatService::class.java
override val generatorServiceClass: Class<out Generator>
- get() = javaClass<FileGenerator>()
+ get() = FileGenerator::class.java
}
class KotlinWebsiteFormatDescriptor : FormatDescriptor {
override val formatServiceClass: Class<out FormatService>
- get() = javaClass<KotlinWebsiteFormatService>()
+ get() = KotlinWebsiteFormatService::class.java
override val outlineServiceClass: Class<out OutlineFormatService>
- get() = javaClass<YamlOutlineService>()
+ get() = YamlOutlineService::class.java
override val generatorServiceClass: Class<out Generator>
- get() = javaClass<FileGenerator>()
+ get() = FileGenerator::class.java
}
class JekyllFormatDescriptor : FormatDescriptor {
override val formatServiceClass: Class<out FormatService>
- get() = javaClass<JekyllFormatService>()
+ get() = JekyllFormatService::class.java
override val outlineServiceClass: Class<out OutlineFormatService>?
get() = null
override val generatorServiceClass: Class<out Generator>
- get() = javaClass<FileGenerator>()
+ get() = FileGenerator::class.java
}
class MarkdownFormatDescriptor : FormatDescriptor {
override val formatServiceClass: Class<out FormatService>
- get() = javaClass<MarkdownFormatService>()
+ get() = MarkdownFormatService::class.java
override val outlineServiceClass: Class<out OutlineFormatService>?
get() = null
override val generatorServiceClass: Class<out Generator>
- get() = javaClass<FileGenerator>()
+ get() = FileGenerator::class.java
}