From 604087db17cabb8e1a07ef1dd84806dcdb02a172 Mon Sep 17 00:00:00 2001 From: Anton Makeev Date: Wed, 26 Jan 2011 11:22:51 +0100 Subject: [PATCH] XDebugger: removed unused method --- .../src/com/intellij/xdebugger/frame/XValueNode.java | 2 -- .../intellij/xdebugger/impl/evaluate/quick/XValueHint.java | 5 ----- .../xdebugger/impl/ui/tree/nodes/XValueNodeImpl.java | 4 ---- 3 files changed, 11 deletions(-) diff --git a/platform/xdebugger-api/src/com/intellij/xdebugger/frame/XValueNode.java b/platform/xdebugger-api/src/com/intellij/xdebugger/frame/XValueNode.java index 19bfc3a349da..4c003c468754 100644 --- a/platform/xdebugger-api/src/com/intellij/xdebugger/frame/XValueNode.java +++ b/platform/xdebugger-api/src/com/intellij/xdebugger/frame/XValueNode.java @@ -34,8 +34,6 @@ public interface XValueNode extends Obsolescent { void setPresentation(@Nullable Icon icon, @NonNls @Nullable String type, @NonNls @NotNull String separator, @NonNls @NotNull String value, boolean hasChildren); - void errorOccurred(@NotNull String message, @Nullable String type); - /** * If string representation of the value is too long to show in the tree pass truncated value to {@link #setPresentation(javax.swing.Icon, String, String, boolean)} * method and call this method to provide full value. diff --git a/platform/xdebugger-impl/src/com/intellij/xdebugger/impl/evaluate/quick/XValueHint.java b/platform/xdebugger-impl/src/com/intellij/xdebugger/impl/evaluate/quick/XValueHint.java index d0fdec5bf88d..04f4ccb7274c 100644 --- a/platform/xdebugger-impl/src/com/intellij/xdebugger/impl/evaluate/quick/XValueHint.java +++ b/platform/xdebugger-impl/src/com/intellij/xdebugger/impl/evaluate/quick/XValueHint.java @@ -104,11 +104,6 @@ public class XValueHint extends AbstractValueHint { setPresentation(icon, type, separator, value, hasChildren); } - @Override - public void errorOccurred(@NotNull String message, @Nullable String type) { - setPresentation(XDebuggerUIConstants.ERROR_MESSAGE_ICON, type, message, false); - } - public void setFullValueEvaluator(@NotNull XFullValueEvaluator fullValueEvaluator) { //todo[nik] implement? } diff --git a/platform/xdebugger-impl/src/com/intellij/xdebugger/impl/ui/tree/nodes/XValueNodeImpl.java b/platform/xdebugger-impl/src/com/intellij/xdebugger/impl/ui/tree/nodes/XValueNodeImpl.java index f6ddcc60ab4b..4b515c289095 100644 --- a/platform/xdebugger-impl/src/com/intellij/xdebugger/impl/ui/tree/nodes/XValueNodeImpl.java +++ b/platform/xdebugger-impl/src/com/intellij/xdebugger/impl/ui/tree/nodes/XValueNodeImpl.java @@ -96,10 +96,6 @@ public class XValueNodeImpl extends XValueContainerNode implements XValu }); } - public void errorOccurred(@NotNull String message, @Nullable String type) { - setPresentation(XDebuggerUIConstants.ERROR_MESSAGE_ICON, type, message, false); - } - public void setFullValueEvaluator(@NotNull final XFullValueEvaluator fullValueEvaluator) { DebuggerUIUtil.invokeOnEventDispatch(new Runnable() { public void run() {