From e4b5290e4898858612da882d9186b2aba548a9d9 Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Thu, 27 Feb 2020 15:28:16 +0100 Subject: Remove deprecated methods. Style fixes. --- .../src/main/kotlin/pl/treksoft/kvision/form/upload/Upload.kt | 6 ------ 1 file changed, 6 deletions(-) (limited to 'kvision-modules/kvision-bootstrap-upload/src/main') diff --git a/kvision-modules/kvision-bootstrap-upload/src/main/kotlin/pl/treksoft/kvision/form/upload/Upload.kt b/kvision-modules/kvision-bootstrap-upload/src/main/kotlin/pl/treksoft/kvision/form/upload/Upload.kt index 3ba635fd..ce885ff3 100644 --- a/kvision-modules/kvision-bootstrap-upload/src/main/kotlin/pl/treksoft/kvision/form/upload/Upload.kt +++ b/kvision-modules/kvision-bootstrap-upload/src/main/kotlin/pl/treksoft/kvision/form/upload/Upload.kt @@ -232,12 +232,6 @@ open class Upload( return input.setEventListener(block) } - @Deprecated("Use onEvent extension function instead.", ReplaceWith("onEvent(block)", "pl.treksoft.kvision.core.onEvent")) - override fun setEventListener(block: SnOn.() -> Unit): Int { - @Suppress("DEPRECATION") - return input.setEventListener(block) - } - override fun removeEventListener(id: Int): Widget { input.removeEventListener(id) return this -- cgit