mirror of https://github.com/usbharu/Hideout.git
chore: Kotlinの非推奨アノテーションの継承の修正
This commit is contained in:
parent
45ac53dcff
commit
4045a945ba
|
@ -62,6 +62,7 @@ class ContextDeserializer : JsonDeserializer<String>() {
|
|||
|
||||
class ContextSerializer : JsonSerializer<List<String>>() {
|
||||
|
||||
@Deprecated("Deprecated in Java")
|
||||
override fun isEmpty(value: List<String>?): Boolean = value.isNullOrEmpty()
|
||||
|
||||
override fun isEmpty(provider: SerializerProvider?, value: List<String>?): Boolean = value.isNullOrEmpty()
|
||||
|
|
|
@ -26,6 +26,7 @@ class KJobJobQueueParentService : JobQueueParentService {
|
|||
|
||||
override fun init(jobDefines: List<Job>) = Unit
|
||||
|
||||
@Deprecated("use type safe → scheduleTypeSafe")
|
||||
override suspend fun <J : Job> schedule(job: J, block: ScheduleContext<J>.(J) -> Unit) {
|
||||
logger.debug("schedule job={}", job.name)
|
||||
kjob.schedule(job, block)
|
||||
|
|
Loading…
Reference in New Issue