From 1104c60b0151f10cc82cda55c27d319c763fe588 Mon Sep 17 00:00:00 2001 From: lukaskabc Date: Thu, 12 Sep 2024 14:26:14 +0200 Subject: [PATCH] [PR #295] remove parallel stream --- .../termit/service/document/html/HtmlSelectorGenerators.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/cz/cvut/kbss/termit/service/document/html/HtmlSelectorGenerators.java b/src/main/java/cz/cvut/kbss/termit/service/document/html/HtmlSelectorGenerators.java index 2573c9ce5..bf09c6ba2 100644 --- a/src/main/java/cz/cvut/kbss/termit/service/document/html/HtmlSelectorGenerators.java +++ b/src/main/java/cz/cvut/kbss/termit/service/document/html/HtmlSelectorGenerators.java @@ -52,6 +52,6 @@ public HtmlSelectorGenerators(Configuration config) { * @return Set of generated selectors */ public Set generateSelectors(Element... elements) { - return generators.parallelStream().map(g -> g.generateSelector(elements)).collect(Collectors.toSet()); + return generators.stream().map(g -> g.generateSelector(elements)).collect(Collectors.toSet()); } }