From 72c211c59c20f06378ee35c84c20bf684b481290 Mon Sep 17 00:00:00 2001 From: Egor Ushakov Date: Tue, 24 Apr 2018 15:13:09 +0300 Subject: [PATCH] better name for interface method - IDEA-CR-31998 --- .../debugger/ui/breakpoints/BreakpointWithHighlighter.java | 2 +- .../debugger/ui/breakpoints/JavaFieldBreakpointType.java | 2 +- .../debugger/ui/breakpoints/JavaLineBreakpointTypeBase.java | 2 +- .../debugger/ui/breakpoints/JavaMethodBreakpointType.java | 2 +- .../com/intellij/xdebugger/breakpoints/XBreakpointType.java | 5 ++++- .../src/com/intellij/xdebugger/impl/XDebugSessionImpl.java | 2 +- 6 files changed, 9 insertions(+), 6 deletions(-) diff --git a/java/debugger/impl/src/com/intellij/debugger/ui/breakpoints/BreakpointWithHighlighter.java b/java/debugger/impl/src/com/intellij/debugger/ui/breakpoints/BreakpointWithHighlighter.java index 2dc34b4fa66b..fda89ac4fc1f 100644 --- a/java/debugger/impl/src/com/intellij/debugger/ui/breakpoints/BreakpointWithHighlighter.java +++ b/java/debugger/impl/src/com/intellij/debugger/ui/breakpoints/BreakpointWithHighlighter.java @@ -156,7 +156,7 @@ public abstract class BreakpointWithHighlighter

, P extends XBreak return AllIcons.Debugger.Db_muted_disabled_breakpoint; } + /** + * @return the icon shown for a breakpoint which is scheduled but not yet set (validated, resolved) in the debugger engine + */ @Nullable - public Icon getValidatingIcon() { + public Icon getPendingIcon() { return null; } diff --git a/platform/xdebugger-impl/src/com/intellij/xdebugger/impl/XDebugSessionImpl.java b/platform/xdebugger-impl/src/com/intellij/xdebugger/impl/XDebugSessionImpl.java index 4f6c284340ce..d76a67ba599a 100644 --- a/platform/xdebugger-impl/src/com/intellij/xdebugger/impl/XDebugSessionImpl.java +++ b/platform/xdebugger-impl/src/com/intellij/xdebugger/impl/XDebugSessionImpl.java @@ -397,7 +397,7 @@ public class XDebugSessionImpl implements XDebugSession { synchronized (myRegisteredBreakpoints) { myRegisteredBreakpoints.put(b, new CustomizedBreakpointPresentation()); if (b instanceof XLineBreakpoint) { - updateBreakpointPresentation((XLineBreakpoint)b, b.getType().getValidatingIcon(), null); + updateBreakpointPresentation((XLineBreakpoint)b, b.getType().getPendingIcon(), null); } } handler.registerBreakpoint(b);