From f0d84fb8947ce4e5aa6796787bbc3131689ecf6a Mon Sep 17 00:00:00 2001 From: Paweł Marks Date: Tue, 18 Feb 2020 12:40:54 +0100 Subject: Remove unnecesarily complex utility --- core/src/main/kotlin/model/classKinds.kt | 5 ----- core/src/main/kotlin/utilities/genericUtils.kt | 3 --- 2 files changed, 8 deletions(-) delete mode 100644 core/src/main/kotlin/utilities/genericUtils.kt (limited to 'core/src/main/kotlin') diff --git a/core/src/main/kotlin/model/classKinds.kt b/core/src/main/kotlin/model/classKinds.kt index 2548f68d..be8c47b0 100644 --- a/core/src/main/kotlin/model/classKinds.kt +++ b/core/src/main/kotlin/model/classKinds.kt @@ -1,10 +1,5 @@ package org.jetbrains.dokka.model -import org.jetbrains.dokka.links.DRI -import org.jetbrains.kotlin.resolve.descriptorUtil.fqNameSafe -import org.jetbrains.kotlin.types.KotlinType - - interface ClassKind enum class KotlinClassKindTypes : ClassKind { diff --git a/core/src/main/kotlin/utilities/genericUtils.kt b/core/src/main/kotlin/utilities/genericUtils.kt deleted file mode 100644 index e94e4e8f..00000000 --- a/core/src/main/kotlin/utilities/genericUtils.kt +++ /dev/null @@ -1,3 +0,0 @@ -package org.jetbrains.dokka.utilities - -fun Pair.pullOutNull(): Pair? = first?.let { f -> second?.let { s -> f to s } } \ No newline at end of file -- cgit