void (@NotNull Element element, @NotNull Collection<? super Configuration> configurations, @NotNull Collection<? super Configuration> historyConfigurations) { for (Element pattern : element.getChildren()) { final Configuration config = readConfiguration(pattern); if (config == null) continue; if (pattern.getAttribute(SAVE_HISTORY_ATTR_NAME) != null) { historyConfigurations.add(config); } else { configurations.add(config); } } }