From f455e517e047694948345f70c8b7e864ecf7c778 Mon Sep 17 00:00:00 2001 From: "Egor.Ushakov" Date: Thu, 20 Oct 2016 13:12:43 +0300 Subject: [PATCH] reverted incorrect anyMatch usage --- .../breakpoints/ui/XLightBreakpointPropertiesPanel.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/platform/xdebugger-impl/src/com/intellij/xdebugger/impl/breakpoints/ui/XLightBreakpointPropertiesPanel.java b/platform/xdebugger-impl/src/com/intellij/xdebugger/impl/breakpoints/ui/XLightBreakpointPropertiesPanel.java index b8347b8c8e6a..448679af40ea 100644 --- a/platform/xdebugger-impl/src/com/intellij/xdebugger/impl/breakpoints/ui/XLightBreakpointPropertiesPanel.java +++ b/platform/xdebugger-impl/src/com/intellij/xdebugger/impl/breakpoints/ui/XLightBreakpointPropertiesPanel.java @@ -147,7 +147,12 @@ public class XLightBreakpointPropertiesPanel implements XSuspendPolicyPanel.Dele myConditionPanel.setVisible(false); } - myShowMoreOptions = mySubPanels.stream().anyMatch(panel -> panel.lightVariant(showAllOptions)); + myShowMoreOptions = false; + for (XBreakpointPropertiesSubPanel panel : mySubPanels) { + if (panel.lightVariant(showAllOptions)) { + myShowMoreOptions = true; + } + } XBreakpointCustomPropertiesPanel customPropertiesPanel = breakpointType.createCustomPropertiesPanel(project); if (customPropertiesPanel != null) {