From facb7efb22c02696bae6b95e1c4b67dc9512a731 Mon Sep 17 00:00:00 2001 From: Dmitry Jemerov Date: Thu, 1 Oct 2015 19:40:39 +0200 Subject: update to Kotlin 0.15.46 --- src/Kotlin/DocumentationBuilder.kt | 3 +-- src/Model/Content.kt | 3 --- 2 files changed, 1 insertion(+), 5 deletions(-) (limited to 'src') diff --git a/src/Kotlin/DocumentationBuilder.kt b/src/Kotlin/DocumentationBuilder.kt index b526e0ed..c45cb9e3 100644 --- a/src/Kotlin/DocumentationBuilder.kt +++ b/src/Kotlin/DocumentationBuilder.kt @@ -678,9 +678,8 @@ class DocumentationBuilder(val resolutionFacade: ResolutionFacade, node.appendTextNode(prefix, Kind.Modifier) } - val builtIns = KotlinBuiltIns.getInstance() for (constraint in upperBounds) { - if (constraint == builtIns.defaultBound) + if (KotlinBuiltIns.isDefaultBound(constraint)) continue node.appendType(constraint, Kind.UpperBound) } diff --git a/src/Model/Content.kt b/src/Model/Content.kt index 709dff2b..38a42afc 100644 --- a/src/Model/Content.kt +++ b/src/Model/Content.kt @@ -166,9 +166,6 @@ public open class MutableContent() : Content() { return "" return (listOf(summary, description) + sections).joinToString() } - - val isEmpty: Boolean - get() = sections.none() } fun javadocSectionDisplayName(sectionName: String?): String? = -- cgit