From a453855241362d4465440d3e536ec55261980c3b Mon Sep 17 00:00:00 2001 From: "Egor.Ushakov" Date: Thu, 3 Nov 2016 16:40:52 +0300 Subject: [PATCH] base type is already processed - skip it --- .../com/intellij/debugger/ui/breakpoints/MethodBreakpoint.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/debugger/impl/src/com/intellij/debugger/ui/breakpoints/MethodBreakpoint.java b/java/debugger/impl/src/com/intellij/debugger/ui/breakpoints/MethodBreakpoint.java index 6192c40edbdf..a25fd2775cfa 100644 --- a/java/debugger/impl/src/com/intellij/debugger/ui/breakpoints/MethodBreakpoint.java +++ b/java/debugger/impl/src/com/intellij/debugger/ui/breakpoints/MethodBreakpoint.java @@ -527,7 +527,7 @@ public class MethodBreakpoint extends BreakpointWithHighlighter inheritance = new MultiMap<>(); classType.virtualMachine().allClasses().forEach(type -> supertypes(type).forEach(st -> inheritance.putValue(st, type))); - StreamEx.ofTree(classType, t -> StreamEx.of(inheritance.get(t))).forEach(consumer); + StreamEx.ofTree(classType, t -> StreamEx.of(inheritance.get(t))).skip(1).forEach(consumer); if (LOG.isDebugEnabled()) { LOG.debug("Processing all classes took: " + String.valueOf(System.currentTimeMillis() - start) + "ms");