From 280ca97bd0591d46f47f3143641a470a8704b634 Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Mon, 14 Oct 2019 15:02:54 +0200 Subject: Change deprecation level to ERROR on the Date type. --- .../src/main/kotlin/pl/treksoft/kvision/types/Date.kt | 2 +- .../kvision-remote/src/main/kotlin/pl/treksoft/kvision/types/Date.kt | 2 +- .../src/main/kotlin/pl/treksoft/kvision/types/Date.kt | 2 +- .../src/main/kotlin/pl/treksoft/kvision/types/Date.kt | 2 +- .../src/main/kotlin/pl/treksoft/kvision/types/Date.kt | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) (limited to 'kvision-modules') diff --git a/kvision-modules/kvision-common-types/src/main/kotlin/pl/treksoft/kvision/types/Date.kt b/kvision-modules/kvision-common-types/src/main/kotlin/pl/treksoft/kvision/types/Date.kt index 75a40bcf..ee20d848 100644 --- a/kvision-modules/kvision-common-types/src/main/kotlin/pl/treksoft/kvision/types/Date.kt +++ b/kvision-modules/kvision-common-types/src/main/kotlin/pl/treksoft/kvision/types/Date.kt @@ -21,7 +21,7 @@ */ package pl.treksoft.kvision.types -@Deprecated("Compatibility with KVision 1. Use LocalDateTime or OffsetDateTime instead.") +@Deprecated("Not supported in KVision 2. Use LocalDateTime or OffsetDateTime instead.", level = DeprecationLevel.ERROR) expect class Date expect class LocalDateTime diff --git a/kvision-modules/kvision-remote/src/main/kotlin/pl/treksoft/kvision/types/Date.kt b/kvision-modules/kvision-remote/src/main/kotlin/pl/treksoft/kvision/types/Date.kt index 947bb62b..90fdd2df 100644 --- a/kvision-modules/kvision-remote/src/main/kotlin/pl/treksoft/kvision/types/Date.kt +++ b/kvision-modules/kvision-remote/src/main/kotlin/pl/treksoft/kvision/types/Date.kt @@ -29,7 +29,7 @@ import kotlinx.serialization.internal.SerialClassDescImpl import kotlin.js.Date import kotlin.math.absoluteValue -@Deprecated("Compatibility with KVision 1. Use LocalDateTime or OffsetDateTime instead.") +@Deprecated("Not supported in KVision 2. Use LocalDateTime or OffsetDateTime instead.", level = DeprecationLevel.ERROR) actual typealias Date = Date actual typealias LocalDateTime = Date diff --git a/kvision-modules/kvision-server-jooby/src/main/kotlin/pl/treksoft/kvision/types/Date.kt b/kvision-modules/kvision-server-jooby/src/main/kotlin/pl/treksoft/kvision/types/Date.kt index c9761b22..f041465b 100644 --- a/kvision-modules/kvision-server-jooby/src/main/kotlin/pl/treksoft/kvision/types/Date.kt +++ b/kvision-modules/kvision-server-jooby/src/main/kotlin/pl/treksoft/kvision/types/Date.kt @@ -36,7 +36,7 @@ import java.time.OffsetTime import java.time.format.DateTimeFormatter import java.time.format.DateTimeParseException -@Deprecated("Compatibility with KVision 1. Use LocalDateTime or OffsetDateTime instead.") +@Deprecated("Not supported in KVision 2. Use LocalDateTime or OffsetDateTime instead.", level = DeprecationLevel.ERROR) actual typealias Date = LocalDateTime actual typealias LocalDateTime = LocalDateTime diff --git a/kvision-modules/kvision-server-ktor/src/main/kotlin/pl/treksoft/kvision/types/Date.kt b/kvision-modules/kvision-server-ktor/src/main/kotlin/pl/treksoft/kvision/types/Date.kt index c9761b22..f041465b 100644 --- a/kvision-modules/kvision-server-ktor/src/main/kotlin/pl/treksoft/kvision/types/Date.kt +++ b/kvision-modules/kvision-server-ktor/src/main/kotlin/pl/treksoft/kvision/types/Date.kt @@ -36,7 +36,7 @@ import java.time.OffsetTime import java.time.format.DateTimeFormatter import java.time.format.DateTimeParseException -@Deprecated("Compatibility with KVision 1. Use LocalDateTime or OffsetDateTime instead.") +@Deprecated("Not supported in KVision 2. Use LocalDateTime or OffsetDateTime instead.", level = DeprecationLevel.ERROR) actual typealias Date = LocalDateTime actual typealias LocalDateTime = LocalDateTime diff --git a/kvision-modules/kvision-server-spring-boot/src/main/kotlin/pl/treksoft/kvision/types/Date.kt b/kvision-modules/kvision-server-spring-boot/src/main/kotlin/pl/treksoft/kvision/types/Date.kt index c9761b22..f041465b 100644 --- a/kvision-modules/kvision-server-spring-boot/src/main/kotlin/pl/treksoft/kvision/types/Date.kt +++ b/kvision-modules/kvision-server-spring-boot/src/main/kotlin/pl/treksoft/kvision/types/Date.kt @@ -36,7 +36,7 @@ import java.time.OffsetTime import java.time.format.DateTimeFormatter import java.time.format.DateTimeParseException -@Deprecated("Compatibility with KVision 1. Use LocalDateTime or OffsetDateTime instead.") +@Deprecated("Not supported in KVision 2. Use LocalDateTime or OffsetDateTime instead.", level = DeprecationLevel.ERROR) actual typealias Date = LocalDateTime actual typealias LocalDateTime = LocalDateTime -- cgit