diff options
Diffstat (limited to 'plugins/base/src/main/kotlin/resolvers/shared')
| -rw-r--r-- | plugins/base/src/main/kotlin/resolvers/shared/PackageList.kt | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/plugins/base/src/main/kotlin/resolvers/shared/PackageList.kt b/plugins/base/src/main/kotlin/resolvers/shared/PackageList.kt index e4b8fb6f..089bda55 100644 --- a/plugins/base/src/main/kotlin/resolvers/shared/PackageList.kt +++ b/plugins/base/src/main/kotlin/resolvers/shared/PackageList.kt @@ -1,7 +1,6 @@ package org.jetbrains.dokka.base.resolvers.shared import org.jetbrains.dokka.base.renderers.PackageListService -import java.io.File import java.net.URL data class PackageList( @@ -15,9 +14,6 @@ data class PackageList( if (offlineMode && url.protocol.toLowerCase() != "file") return null - /*if (!File(url.file).isFile) - return null*/ - val packageListStream = url.readContent() val (params, packages) = packageListStream @@ -31,7 +27,6 @@ data class PackageList( return PackageList(format, packages.filter(String::isNotBlank).toSet(), locations, url) } - private fun splitParams(params: List<String>) = params.asSequence() .map { it.removePrefix("${PackageListService.DOKKA_PARAM_PREFIX}.").split(":", limit = 2) } .groupBy({ (key, _) -> key }, { (_, value) -> value }) |
