Skip to content

Commit 05d93c1

Browse files
committed
refactor(ext-harmonyos): remove unused imports and log statement
The HarmonyOS extension has been updated to remove unused imports and a log statement from the `HarmonyOSChatContextProvider` class, simplifying the code and reducing the risk of potential issues caused by unnecessary logging.
1 parent 0fc2627 commit 05d93c1

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

exts/ext-harmonyos/src/main/kotlin/cc/unitmesh/harmonyos/actions/auto/ArkUiExample.kt

Lines changed: 0 additions & 5 deletions
This file was deleted.

exts/ext-harmonyos/src/main/kotlin/cc/unitmesh/harmonyos/provider/HarmonyOSChatContextProvider.kt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,9 @@ package cc.unitmesh.harmonyos.provider
33
import cc.unitmesh.devti.provider.context.ChatContextItem
44
import cc.unitmesh.devti.provider.context.ChatContextProvider
55
import cc.unitmesh.devti.provider.context.ChatCreationContext
6-
import com.intellij.openapi.diagnostic.logger
76
import com.intellij.openapi.project.Project
87

98
class HarmonyOSChatContextProvider : ChatContextProvider {
10-
private val logger = logger<HarmonyOSChatContextProvider>()
11-
129
override fun isApplicable(project: Project, creationContext: ChatCreationContext): Boolean {
1310
return System.getProperty("idea.platform.prefix", "idea") == "DevEcoStudio"
1411
}

0 commit comments

Comments
 (0)