aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Jaros <rjaros@finn.pl>2019-10-14 15:02:54 +0200
committerRobert Jaros <rjaros@finn.pl>2019-10-14 15:02:54 +0200
commit280ca97bd0591d46f47f3143641a470a8704b634 (patch)
tree0c8b4c2b5879fda2ec9e3fbb255eb6ea96d87fbf
parent1dfbae59457b1a2dbeaa7f9cc9885e295d12e75d (diff)
downloadkvision-280ca97bd0591d46f47f3143641a470a8704b634.tar.gz
kvision-280ca97bd0591d46f47f3143641a470a8704b634.tar.bz2
kvision-280ca97bd0591d46f47f3143641a470a8704b634.zip
Change deprecation level to ERROR on the Date type.
-rw-r--r--kvision-modules/kvision-common-types/src/main/kotlin/pl/treksoft/kvision/types/Date.kt2
-rw-r--r--kvision-modules/kvision-remote/src/main/kotlin/pl/treksoft/kvision/types/Date.kt2
-rw-r--r--kvision-modules/kvision-server-jooby/src/main/kotlin/pl/treksoft/kvision/types/Date.kt2
-rw-r--r--kvision-modules/kvision-server-ktor/src/main/kotlin/pl/treksoft/kvision/types/Date.kt2
-rw-r--r--kvision-modules/kvision-server-spring-boot/src/main/kotlin/pl/treksoft/kvision/types/Date.kt2
-rw-r--r--src/main/kotlin/pl/treksoft/kvision/types/Date.kt2
6 files changed, 6 insertions, 6 deletions
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
diff --git a/src/main/kotlin/pl/treksoft/kvision/types/Date.kt b/src/main/kotlin/pl/treksoft/kvision/types/Date.kt
index 165bd723..4af141f7 100644
--- a/src/main/kotlin/pl/treksoft/kvision/types/Date.kt
+++ b/src/main/kotlin/pl/treksoft/kvision/types/Date.kt
@@ -31,7 +31,7 @@ import kotlin.js.Date
const val KV_DEFAULT_DATE_FORMAT = "YYYY-MM-DD HH:mm:ss"
-@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