From df4ec484e90bb6718a14ed15bbfa8bbce98a1c7b Mon Sep 17 00:00:00 2001 From: Ali Albaali Date: Sun, 14 Feb 2021 00:44:42 +0300 Subject: [PATCH] Suppress unchecked casts for KamelConfigBuilder & JvmConfigUtils --- .../kotlin/io/kamel/core/config/KamelConfigBuilder.kt | 2 ++ .../src/jvmMain/kotlin/io/kamel/core/utils/JvmConfigUtils.kt | 2 ++ 2 files changed, 4 insertions(+) diff --git a/kamel-core/src/commonMain/kotlin/io/kamel/core/config/KamelConfigBuilder.kt b/kamel-core/src/commonMain/kotlin/io/kamel/core/config/KamelConfigBuilder.kt index 2fecdf9b..6109906d 100644 --- a/kamel-core/src/commonMain/kotlin/io/kamel/core/config/KamelConfigBuilder.kt +++ b/kamel-core/src/commonMain/kotlin/io/kamel/core/config/KamelConfigBuilder.kt @@ -1,3 +1,5 @@ +@file:Suppress("UNCHECKED_CAST") + package io.kamel.core.config import androidx.compose.ui.graphics.ImageBitmap diff --git a/kamel-core/src/jvmMain/kotlin/io/kamel/core/utils/JvmConfigUtils.kt b/kamel-core/src/jvmMain/kotlin/io/kamel/core/utils/JvmConfigUtils.kt index a27b739d..4cbc3d85 100644 --- a/kamel-core/src/jvmMain/kotlin/io/kamel/core/utils/JvmConfigUtils.kt +++ b/kamel-core/src/jvmMain/kotlin/io/kamel/core/utils/JvmConfigUtils.kt @@ -1,3 +1,5 @@ +@file:Suppress("UNCHECKED_CAST") + package io.kamel.core.utils import io.kamel.core.config.KamelConfig