Skip to content

Commit

Permalink
Fixed deprecation warning about ActionUpdateThread.OLD_EDT in Intelli…
Browse files Browse the repository at this point in the history
…J IDEA 2024.2
  • Loading branch information
maartenc committed Sep 19, 2024
1 parent bea7e69 commit f1e9b5f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@
## [Unreleased]
- Upgraded Apache Ivy to 2.5.2 to address the CVE-2022-46751 vulnerability
- rebased build on [IntelliJ Platform Plugin Template](https://github.com/JetBrains/intellij-platform-plugin-template)
- Fixed deprecation warning about ActionUpdateThread.OLD_EDT in IntelliJ IDEA 2024.2

## [1.0.17]
- Upgraded Apache Ivy to 2.5.1 to address the CVE-2022-37865 and CVE-2022-37866 vulnerabilities.
- Upgraded Apache Ivy to 2.5.1 to address the CVE-2022-37865 and CVE-2022-37866 vulnerabilities

## [1.0.16]
- Upgraded internal Apache Ivy to 2.5.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

package org.clarent.ivyidea;

import com.intellij.openapi.actionSystem.ActionUpdateThread;
import com.intellij.openapi.actionSystem.AnActionEvent;
import com.intellij.openapi.actionSystem.LangDataKeys;
import com.intellij.openapi.actionSystem.Presentation;
Expand Down Expand Up @@ -75,4 +76,9 @@ private void updatePresentation(Presentation presentation, Module activeModule)
presentation.setEnabled(linkEnabled);
presentation.setVisible(linkEnabled);
}

@Override
public @NotNull ActionUpdateThread getActionUpdateThread() {
return ActionUpdateThread.EDT;
}
}

0 comments on commit f1e9b5f

Please sign in to comment.