From ae642832a1a27aa98e34195047f0c08e325f23de Mon Sep 17 00:00:00 2001 From: Dmitry Jemerov Date: Thu, 30 Jun 2016 20:40:07 +0200 Subject: delete unused method --- core/src/main/kotlin/Formats/HtmlFormatService.kt | 6 ------ core/src/main/kotlin/Formats/KotlinWebsiteFormatService.kt | 6 ------ core/src/main/kotlin/Formats/MarkdownFormatService.kt | 4 ---- core/src/main/kotlin/Formats/StructuredFormatService.kt | 1 - 4 files changed, 17 deletions(-) (limited to 'core') diff --git a/core/src/main/kotlin/Formats/HtmlFormatService.kt b/core/src/main/kotlin/Formats/HtmlFormatService.kt index ebc4ce22..e6635cef 100644 --- a/core/src/main/kotlin/Formats/HtmlFormatService.kt +++ b/core/src/main/kotlin/Formats/HtmlFormatService.kt @@ -55,12 +55,6 @@ open class HtmlFormatService @Inject constructor(@Named("folders") locationServi to.appendln("") } - override fun appendTableHeader(to: StringBuilder, body: () -> Unit) { - to.appendln("") - body() - to.appendln("") - } - override fun appendTableBody(to: StringBuilder, body: () -> Unit) { to.appendln("") body() diff --git a/core/src/main/kotlin/Formats/KotlinWebsiteFormatService.kt b/core/src/main/kotlin/Formats/KotlinWebsiteFormatService.kt index 56544165..eba82a3a 100644 --- a/core/src/main/kotlin/Formats/KotlinWebsiteFormatService.kt +++ b/core/src/main/kotlin/Formats/KotlinWebsiteFormatService.kt @@ -83,12 +83,6 @@ class KotlinWebsiteFormatService @Inject constructor(locationService: LocationSe to.appendln("") } - override fun appendTableHeader(to: StringBuilder, body: () -> Unit) { - to.appendln("") - body() - to.appendln("") - } - override fun appendTableBody(to: StringBuilder, body: () -> Unit) { to.appendln("") body() diff --git a/core/src/main/kotlin/Formats/MarkdownFormatService.kt b/core/src/main/kotlin/Formats/MarkdownFormatService.kt index 21470141..9684b5c1 100644 --- a/core/src/main/kotlin/Formats/MarkdownFormatService.kt +++ b/core/src/main/kotlin/Formats/MarkdownFormatService.kt @@ -81,10 +81,6 @@ open class MarkdownFormatService(locationService: LocationService, to.appendln() } - override fun appendTableHeader(to: StringBuilder, body: () -> Unit) { - body() - } - override fun appendTableBody(to: StringBuilder, body: () -> Unit) { body() } diff --git a/core/src/main/kotlin/Formats/StructuredFormatService.kt b/core/src/main/kotlin/Formats/StructuredFormatService.kt index 4f64baa1..bb27aab5 100644 --- a/core/src/main/kotlin/Formats/StructuredFormatService.kt +++ b/core/src/main/kotlin/Formats/StructuredFormatService.kt @@ -23,7 +23,6 @@ abstract class StructuredFormatService(locationService: LocationService, abstract fun appendAnchor(to: StringBuilder, anchor: String) abstract fun appendTable(to: StringBuilder, body: () -> Unit) - abstract fun appendTableHeader(to: StringBuilder, body: () -> Unit) abstract fun appendTableBody(to: StringBuilder, body: () -> Unit) abstract fun appendTableRow(to: StringBuilder, body: () -> Unit) abstract fun appendTableCell(to: StringBuilder, body: () -> Unit) -- cgit