aboutsummaryrefslogtreecommitdiff
path: root/core/src
diff options
context:
space:
mode:
authorSzymon Świstun <sswistun@virtuslab.com>2020-01-07 12:13:32 +0100
committerPaweł Marks <Kordyjan@users.noreply.github.com>2020-01-08 10:45:08 +0100
commitc36c6ae3b8c9e47afc7adabd4624c1a95039596f (patch)
treeba24fd0087442786fead684126a8a73416039042 /core/src
parentd843dd66c10d6d5b6c555b89a994e2c2519c2f19 (diff)
downloaddokka-c36c6ae3b8c9e47afc7adabd4624c1a95039596f.tar.gz
dokka-c36c6ae3b8c9e47afc7adabd4624c1a95039596f.tar.bz2
dokka-c36c6ae3b8c9e47afc7adabd4624c1a95039596f.zip
cleanup
Diffstat (limited to 'core/src')
-rw-r--r--core/src/main/kotlin/links/DRI.kt4
-rw-r--r--core/src/main/kotlin/renderers/FileWriter.kt1
2 files changed, 0 insertions, 5 deletions
diff --git a/core/src/main/kotlin/links/DRI.kt b/core/src/main/kotlin/links/DRI.kt
index 0aeba264..6d709603 100644
--- a/core/src/main/kotlin/links/DRI.kt
+++ b/core/src/main/kotlin/links/DRI.kt
@@ -95,10 +95,6 @@ data class TypeReference(val classNames: String, val typeBounds: List<TypeRefere
private fun from(t: KotlinType): TypeReference =
TypeReference(t.constructorName.orEmpty(), t.arguments.map { from(it) })
-// when (val d = t.constructor.declarationDescriptor) {
-// is TypeParameterDescriptor -> TypeReference("todo:${d.name}")
-// else -> TypeReference(t.constructorName.orEmpty(), t.arguments.map { from(it) })
-// }
private fun from(t: TypeProjection): TypeReference =
if (t.isStarProjection) {
diff --git a/core/src/main/kotlin/renderers/FileWriter.kt b/core/src/main/kotlin/renderers/FileWriter.kt
index 079fe23b..9ee02b4b 100644
--- a/core/src/main/kotlin/renderers/FileWriter.kt
+++ b/core/src/main/kotlin/renderers/FileWriter.kt
@@ -1,6 +1,5 @@
package org.jetbrains.dokka.renderers
-import org.jetbrains.dokka.utilities.DokkaConsoleLogger
import java.io.File
import java.io.IOException
import java.nio.file.Paths