reverted incorrect anyMatch usage

This commit is contained in:
Egor.Ushakov
2016-10-20 13:14:58 +03:00
parent d8285cef6f
commit f455e517e0
@@ -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) {