From 70ef78d389bbf6d89e3cf7e457517d25d93eae39 Mon Sep 17 00:00:00 2001 From: "a.emogurov" Date: Tue, 17 Sep 2024 13:18:42 +0400 Subject: [PATCH] servers plugin: remove debug panel internal annotation --- .../com/redmadrobot/debug/plugin/servers/ServersPlugin.kt | 4 +--- .../debug/plugin/servers/data/model/DebugServerData.kt | 3 --- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/plugins/plugin-servers/src/main/kotlin/com/redmadrobot/debug/plugin/servers/ServersPlugin.kt b/plugins/plugin-servers/src/main/kotlin/com/redmadrobot/debug/plugin/servers/ServersPlugin.kt index 0db018d7..a81730fb 100644 --- a/plugins/plugin-servers/src/main/kotlin/com/redmadrobot/debug/plugin/servers/ServersPlugin.kt +++ b/plugins/plugin-servers/src/main/kotlin/com/redmadrobot/debug/plugin/servers/ServersPlugin.kt @@ -1,12 +1,11 @@ package com.redmadrobot.debug.plugin.servers import androidx.compose.runtime.Composable -import com.redmadrobot.debug.core.annotation.DebugPanelInternal import com.redmadrobot.debug.core.data.DebugDataProvider import com.redmadrobot.debug.core.extension.getPlugin import com.redmadrobot.debug.core.internal.CommonContainer -import com.redmadrobot.debug.core.internal.PluginDependencyContainer import com.redmadrobot.debug.core.internal.EditablePlugin +import com.redmadrobot.debug.core.internal.PluginDependencyContainer import com.redmadrobot.debug.core.plugin.Plugin import com.redmadrobot.debug.plugin.servers.data.model.DebugServer import com.redmadrobot.debug.plugin.servers.data.model.DebugServerData @@ -14,7 +13,6 @@ import com.redmadrobot.debug.plugin.servers.data.model.DebugStage import com.redmadrobot.debug.plugin.servers.ui.ServersScreen import kotlinx.coroutines.runBlocking -@OptIn(DebugPanelInternal::class) public class ServersPlugin( private val preInstalledServers: List = emptyList(), ) : Plugin(), EditablePlugin { diff --git a/plugins/plugin-servers/src/main/kotlin/com/redmadrobot/debug/plugin/servers/data/model/DebugServerData.kt b/plugins/plugin-servers/src/main/kotlin/com/redmadrobot/debug/plugin/servers/data/model/DebugServerData.kt index 88cd8193..85c2ecb9 100644 --- a/plugins/plugin-servers/src/main/kotlin/com/redmadrobot/debug/plugin/servers/data/model/DebugServerData.kt +++ b/plugins/plugin-servers/src/main/kotlin/com/redmadrobot/debug/plugin/servers/data/model/DebugServerData.kt @@ -1,8 +1,5 @@ package com.redmadrobot.debug.plugin.servers.data.model -import com.redmadrobot.debug.core.annotation.DebugPanelInternal - -@DebugPanelInternal public interface DebugServerData { public val id: Int public val name: String