From 5ffffc29ae9633448fae31ca05fd6e29361acf0d Mon Sep 17 00:00:00 2001 From: Luo Tim Date: Sat, 15 Jun 2024 23:18:10 +0800 Subject: [PATCH] Remove unused code --- .../devchat/core/handlers/GetServerSettingsRequestHandler.kt | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/main/kotlin/ai/devchat/core/handlers/GetServerSettingsRequestHandler.kt b/src/main/kotlin/ai/devchat/core/handlers/GetServerSettingsRequestHandler.kt index 85c7574..110762d 100644 --- a/src/main/kotlin/ai/devchat/core/handlers/GetServerSettingsRequestHandler.kt +++ b/src/main/kotlin/ai/devchat/core/handlers/GetServerSettingsRequestHandler.kt @@ -4,7 +4,6 @@ import ai.devchat.core.BaseActionHandler import ai.devchat.core.DevChatActions import ai.devchat.storage.SERVER_CONFIG import com.alibaba.fastjson.JSONObject -import com.intellij.openapi.diagnostic.Logger class GetServerSettingsRequestHandler(requestAction: String, metadata: JSONObject?, payload: JSONObject?) : BaseActionHandler( @@ -12,11 +11,9 @@ class GetServerSettingsRequestHandler(requestAction: String, metadata: JSONObjec metadata, payload ) { - private val logger = Logger.getInstance(GetServerSettingsRequestHandler::class.java) override val actionName: String = DevChatActions.GET_SERVER_SETTINGS_RESPONSE @Suppress("UNCHECKED_CAST") override fun action() { - logger.info("^^^^^^^^^^^^^^^^^^^^^ get server settings") send(payload= SERVER_CONFIG.get() as? Map) } }