Skip to content

Commit 067ead6

Browse files
committed
refactor: remove dependency
1 parent e4ce809 commit 067ead6

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ platformVersion = 2025.1.1
1818
# Example: platformPlugins = com.jetbrains.php:203.4449.22, org.intellij.scala:2023.3.27@EAP
1919
platformPlugins=com.jetbrains.php:251.23774.318,com.jetbrains.hackathon.indices.viewer:1.30,com.github.xepozz.php_opcodes_language:2025.0.4
2020
# Example: platformBundledPlugins = com.intellij.java
21-
platformBundledPlugins=com.jetbrains.sh
21+
platformBundledPlugins=
2222

2323
# Gradle Releases -> https://github.com/gradle/gradle/releases
2424
gradleVersion = 8.13

src/main/kotlin/com/github/xepozz/php_dump/panel/OpcodesTerminalPanel.kt

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,21 +29,19 @@ import java.awt.BorderLayout
2929
import java.awt.GridLayout
3030
import java.awt.event.ComponentAdapter
3131
import java.awt.event.ComponentEvent
32-
import javax.swing.JComponent
3332
import javax.swing.JPanel
3433

3534
class OpcodesTerminalPanel(
3635
val project: Project,
3736
) : SimpleToolWindowPanel(false, false), RefreshablePanel, Disposable {
38-
private val viewComponent: JComponent
39-
private val service: OpcodesDumperService = project.getService(OpcodesDumperService::class.java)
37+
private val service = project.getService(OpcodesDumperService::class.java)
4038
private val state = PhpDumpSettingsService.getInstance(project)
4139
private val editorFactory: EditorFactory = EditorFactory.getInstance()
4240
private val document = editorFactory.createDocument("")
4341
private val editor = editorFactory.createEditor(document, project, PHPOpFileType.INSTANCE, false) as EditorEx
42+
val viewComponent = editor.component
4443

4544
init {
46-
viewComponent = editor.component
4745
configureEditor()
4846

4947
createToolBar()

src/main/resources/META-INF/plugin.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
<depends>com.intellij.modules.platform</depends>
88
<depends>com.jetbrains.php</depends>
9-
<depends>com.jetbrains.sh</depends>
109
<depends>com.github.xepozz.php_opcodes_language</depends>
1110

1211
<resource-bundle>messages.MyBundle</resource-bundle>

0 commit comments

Comments
 (0)