From 654a995a9d0136d7135f1ac9aae100d4e241fc9a Mon Sep 17 00:00:00 2001 From: Evgeny Gerashchenko Date: Mon, 10 Dec 2012 19:12:04 +0400 Subject: [PATCH] Fixed compilation of kdoc. --- .../src/main/kotlin/org/jetbrains/kotlin/doc/KDocConfig.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/tools/kdoc/src/main/kotlin/org/jetbrains/kotlin/doc/KDocConfig.kt b/libraries/tools/kdoc/src/main/kotlin/org/jetbrains/kotlin/doc/KDocConfig.kt index 6c0bcc0075d..21722f99a0d 100644 --- a/libraries/tools/kdoc/src/main/kotlin/org/jetbrains/kotlin/doc/KDocConfig.kt +++ b/libraries/tools/kdoc/src/main/kotlin/org/jetbrains/kotlin/doc/KDocConfig.kt @@ -52,7 +52,7 @@ class KDocConfig() { /** * A map of package name to html or markdown files used to describe the package. If none is - * speciied we will look for a package.html or package.md file in the source tree + * specified we will look for a package.html or package.md file in the source tree */ public var packageDescriptionFiles: MutableMap = HashMap() @@ -113,7 +113,7 @@ class KDocConfig() { } private class LongestFirstStringComparator() : Comparator { - public override fun compare(s1: String?, s2: String?): Int { + public override fun compare(s1: String, s2: String): Int { return compareBy(s1, s2, { length() }, { this }) }