From 3af779ff3377901d946a230f9900f5a508bf08e3 Mon Sep 17 00:00:00 2001 From: Marcin Aman Date: Thu, 20 Aug 2020 15:57:32 +0200 Subject: Revert unwanted changes --- core/src/main/kotlin/pages/PageNodes.kt | 64 ++++++++++++++++----------------- 1 file changed, 32 insertions(+), 32 deletions(-) (limited to 'core/src/main/kotlin') diff --git a/core/src/main/kotlin/pages/PageNodes.kt b/core/src/main/kotlin/pages/PageNodes.kt index dbb4d069..d49f9911 100644 --- a/core/src/main/kotlin/pages/PageNodes.kt +++ b/core/src/main/kotlin/pages/PageNodes.kt @@ -61,12 +61,12 @@ abstract class RootPageNode : PageNode { ): RootPageNode } -open class ModulePageNode( - final override val name: String, - final override val content: ContentNode, - final override val documentable: Documentable?, - final override val children: List, - final override val embeddedResources: List = listOf() +class ModulePageNode( + override val name: String, + override val content: ContentNode, + override val documentable: Documentable?, + override val children: List, + override val embeddedResources: List = listOf() ) : RootPageNode(), ContentPage { override val dri: Set = setOf(DRI.topLevel) @@ -84,13 +84,13 @@ open class ModulePageNode( else ModulePageNode(name, content, documentable, children, embeddedResources) } -open class PackagePageNode( - final override val name: String, - final override val content: ContentNode, - final override val dri: Set, - final override val documentable: Documentable?, - final override val children: List, - final override val embeddedResources: List = listOf() +class PackagePageNode( + override val name: String, + override val content: ContentNode, + override val dri: Set, + override val documentable: Documentable?, + override val children: List, + override val embeddedResources: List = listOf() ) : ContentPage { override fun modified(name: String, children: List): PackagePageNode = modified(name = name, content = this.content, children = children) @@ -106,13 +106,13 @@ open class PackagePageNode( else PackagePageNode(name, content, dri, documentable, children, embeddedResources) } -open class ClasslikePageNode( - final override val name: String, - final override val content: ContentNode, - final override val dri: Set, - final override val documentable: Documentable?, - final override val children: List, - final override val embeddedResources: List = listOf() +class ClasslikePageNode( + override val name: String, + override val content: ContentNode, + override val dri: Set, + override val documentable: Documentable?, + override val children: List, + override val embeddedResources: List = listOf() ) : ContentPage { override fun modified(name: String, children: List): ClasslikePageNode = modified(name = name, content = this.content, children = children) @@ -128,13 +128,13 @@ open class ClasslikePageNode( else ClasslikePageNode(name, content, dri, documentable, children, embeddedResources) } -open class MemberPageNode( - final override val name: String, - final override val content: ContentNode, - final override val dri: Set, - final override val documentable: Documentable?, - final override val children: List = emptyList(), - final override val embeddedResources: List = listOf() +class MemberPageNode( + override val name: String, + override val content: ContentNode, + override val dri: Set, + override val documentable: Documentable?, + override val children: List = emptyList(), + override val embeddedResources: List = listOf() ) : ContentPage { override fun modified(name: String, children: List): MemberPageNode = modified(name = name, content = this.content, children = children) as MemberPageNode @@ -151,11 +151,11 @@ open class MemberPageNode( } -open class MultimoduleRootPageNode( - final override val name: String, - final override val dri: Set, - final override val content: ContentNode, - final override val embeddedResources: List = emptyList() +class MultimoduleRootPageNode( + override val name: String, + override val dri: Set, + override val content: ContentNode, + override val embeddedResources: List = emptyList() ) : RootPageNode(), ContentPage { override val children: List = emptyList() -- cgit