aboutsummaryrefslogtreecommitdiff
path: root/core/src/main/kotlin/model
diff options
context:
space:
mode:
authorSzymon Świstun <sswistun@virtuslab.com>2020-03-04 17:46:19 +0100
committerPaweł Marks <Kordyjan@users.noreply.github.com>2020-03-17 14:38:44 +0100
commitf94bbdc3bfa66bf2d485007739ce19a3befda98c (patch)
tree34b22233849ec7b79d10071ccd7a8417ed12de36 /core/src/main/kotlin/model
parent128e3fee4182c0957e266accc99b174815486520 (diff)
downloaddokka-f94bbdc3bfa66bf2d485007739ce19a3befda98c.tar.gz
dokka-f94bbdc3bfa66bf2d485007739ce19a3befda98c.tar.bz2
dokka-f94bbdc3bfa66bf2d485007739ce19a3befda98c.zip
Combine multiple applyIf
Diffstat (limited to 'core/src/main/kotlin/model')
-rw-r--r--core/src/main/kotlin/model/Documentable.kt5
1 files changed, 0 insertions, 5 deletions
diff --git a/core/src/main/kotlin/model/Documentable.kt b/core/src/main/kotlin/model/Documentable.kt
index e379adb9..22930bf2 100644
--- a/core/src/main/kotlin/model/Documentable.kt
+++ b/core/src/main/kotlin/model/Documentable.kt
@@ -343,11 +343,6 @@ enum class ExtraModifiers {
OVERRIDE, DATA, CONST, DYNAMIC, EXTERNAL, INNER, LATEINIT, OPERATOR, TAILREC, VARARG
}
-enum class ExtraModifiers {
- STATIC, INLINE, INFIX, SUSPEND, REIFIED, CROSSINLINE, NOINLINE,
- OVERRIDE, DATA, CONST, DYNAMIC, EXTERNAL, INNER, LATEINIT, OPERATOR, TAILREC, VARARG
-}
-
private fun String.shorten(maxLength: Int) = lineSequence().first().let {
if (it.length != length || it.length > maxLength) it.take(maxLength - 3) + "..." else it
}