File tree Expand file tree Collapse file tree
qute.ls/com.redhat.qute.ls/src/main/java/com/redhat/qute/project/documents Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616import java .util .ArrayList ;
1717import java .util .List ;
1818import java .util .Map ;
19+ import java .util .stream .Collectors ;
1920import java .util .stream .Stream ;
2021
2122import com .redhat .qute .commons .TemplateRootPath ;
@@ -72,8 +73,10 @@ private synchronized void scan(ProgressContext progressContext) {
7273 }
7374 // Step 1: collect all template file path from all root paths
7475 // (src/main/resources/templates, src/main/resources/content, etc)
75- List <Path > rootPaths = project .getTemplateRootPaths ().stream () //
76- .map (TemplateRootPath ::getBasePath ).toList ();
76+ List <Path > rootPaths = project .getTemplateRootPaths () //
77+ .stream () //
78+ .map (TemplateRootPath ::getBasePath ) //
79+ .collect (Collectors .toList ());
7780 List <Path > templatePaths = collectTemplatePaths (rootPaths );
7881
7982 int totalFiles = templatePaths .size ();
You can’t perform that action at this time.
0 commit comments