Skip to content

Commit

Permalink
IDEA-324233 Add assertion for OLD_EDT actions
Browse files Browse the repository at this point in the history
GitOrigin-RevId: 495d6f89f6582b0d87d8444a99dd4ea71d45f674
  • Loading branch information
gregsh authored and intellij-monorepo-bot committed Jan 20, 2024
1 parent 0459eab commit a45d016
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.intellij.openapi.actionSystem;

import com.intellij.diagnostic.PluginException;
import org.jetbrains.annotations.NotNull;

/**
Expand All @@ -17,12 +18,12 @@ public interface ActionUpdateThreadAware {
if (this instanceof UpdateInBackground && ((UpdateInBackground)this).isUpdateInBackground()) {
return ActionUpdateThread.BGT;
}
//PluginException.reportDeprecatedDefault(getClass(), "getActionUpdateThread", "OLD_EDT is deprecated");
PluginException.reportDeprecatedDefault(getClass(), "getActionUpdateThread", "OLD_EDT is deprecated for removal");
return ActionUpdateThread.OLD_EDT;
}

/**
* Allows to specify forced action-update-thread for all actions in an action group recursively.
* Allows specifying forced action-update-thread for all actions in an action group recursively.
*/
interface Recursive extends ActionUpdateThreadAware {
@Override
Expand Down

0 comments on commit a45d016

Please sign in to comment.