aboutsummaryrefslogtreecommitdiff
path: root/src/Model
diff options
context:
space:
mode:
authorDmitry Jemerov <yole@jetbrains.com>2015-03-10 17:06:26 +0100
committerDmitry Jemerov <yole@jetbrains.com>2015-03-10 17:06:26 +0100
commit8d3999eb1fc3db7ab160c1f06b5ad35e5861bd6a (patch)
tree6d9761a28ac96e9d8374fdfd67e0c75e96b4e3d6 /src/Model
parent2e6eda906df5e66273deddbe7215c6dd15e4cc8c (diff)
downloaddokka-8d3999eb1fc3db7ab160c1f06b5ad35e5861bd6a.tar.gz
dokka-8d3999eb1fc3db7ab160c1f06b5ad35e5861bd6a.tar.bz2
dokka-8d3999eb1fc3db7ab160c1f06b5ad35e5861bd6a.zip
class object -> default object
Diffstat (limited to 'src/Model')
-rw-r--r--src/Model/Content.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Model/Content.kt b/src/Model/Content.kt
index b9d67d5b..176be8d3 100644
--- a/src/Model/Content.kt
+++ b/src/Model/Content.kt
@@ -3,7 +3,7 @@ package org.jetbrains.dokka
import kotlin.properties.Delegates
public abstract class ContentNode {
- class object {
+ default object {
val empty = ContentEmpty
}
}
@@ -126,7 +126,7 @@ public open class Content(): ContentBlock() {
fun findSectionByTag(tag: String): ContentSection? =
sections.firstOrNull { tag.equalsIgnoreCase(it.tag) }
- class object {
+ default object {
val Empty = Content()
}
}