Skip to content

Commit

Permalink
Deal with deprecated warning
Browse files Browse the repository at this point in the history
closes #1224
  • Loading branch information
belav committed Apr 12, 2024
1 parent 55e3188 commit 0671495
Showing 1 changed file with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
package com.intellij.csharpier;

import com.intellij.openapi.actionSystem.AnAction;
import com.intellij.openapi.actionSystem.AnActionEvent;
import com.intellij.openapi.actionSystem.CommonDataKeys;
import com.intellij.openapi.actionSystem.PlatformDataKeys;
import com.intellij.openapi.actionSystem.*;
import com.intellij.openapi.diagnostic.Logger;
import com.intellij.openapi.editor.Document;
import com.intellij.openapi.project.Project;
Expand All @@ -12,6 +9,11 @@
public class ReformatWithCSharpierAction extends AnAction {
Logger logger = CSharpierLogger.getInstance();

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

@Override
public void actionPerformed(@NotNull AnActionEvent e) {
this.logger.info("Running ReformatWithCSharpierAction");
Expand Down

0 comments on commit 0671495

Please sign in to comment.