Skip to content

Commit d59a92a

Browse files
committed
[INTERNAL] use parallelStream instead of stream
1 parent 27701d4 commit d59a92a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/net/seesharpsoft/intellij/plugins/csv/intention/CsvIntentionHelper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ public static Collection<PsiElement> getAllElements(PsiFile file) {
8787
}
8888

8989
private static Collection<PsiElement> getAllFields(PsiFile file) {
90-
return getChildren(file).stream()
90+
return getChildren(file).parallelStream()
9191
.filter(element -> getElementType(element) == CsvTypes.RECORD)
9292
.flatMap(record -> getChildren(record).stream())
9393
.filter(element -> getElementType(element) == CsvTypes.FIELD)

0 commit comments

Comments
 (0)