From 9e8790658fc7287f97cbf415d0b9dc6e18b22a5e Mon Sep 17 00:00:00 2001 From: Egor Ushakov Date: Fri, 28 Dec 2018 14:28:11 +0300 Subject: [PATCH] cleanup: removed unused --- .../xdebugger/impl/frame/XWatchesViewImpl.java | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/platform/xdebugger-impl/src/com/intellij/xdebugger/impl/frame/XWatchesViewImpl.java b/platform/xdebugger-impl/src/com/intellij/xdebugger/impl/frame/XWatchesViewImpl.java index 0c69a9f2a9c8..bc5ab63c087a 100644 --- a/platform/xdebugger-impl/src/com/intellij/xdebugger/impl/frame/XWatchesViewImpl.java +++ b/platform/xdebugger-impl/src/com/intellij/xdebugger/impl/frame/XWatchesViewImpl.java @@ -205,16 +205,6 @@ public class XWatchesViewImpl extends XVariablesView implements DnDNativeTarget, return false; } - private void executeAction(@NotNull String watch) { - AnAction action = ActionManager.getInstance().getAction(watch); - Presentation presentation = action.getTemplatePresentation().clone(); - DataContext context = DataManager.getInstance().getDataContext(getTree()); - - AnActionEvent actionEvent = - new AnActionEvent(null, context, ActionPlaces.DEBUGGER_TOOLBAR, presentation, ActionManager.getInstance(), 0); - action.actionPerformed(actionEvent); - } - @Override public void addWatchExpression(@NotNull XExpression expression, int index, final boolean navigateToWatchNode) { ApplicationManager.getApplication().assertIsDispatchThread();