elharo commented on code in PR #11700:
URL: https://github.com/apache/maven/pull/11700#discussion_r2833257067


##########
impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java:
##########
@@ -520,7 +520,7 @@ List<ProjectBuildingResult> doBuild(List<File> pomFiles, 
boolean recursive) {
                 return pomFiles.stream()
                         .map(pomFile -> build(pomFile, recursive))
                         .flatMap(List::stream)
-                        .collect(Collectors.toList());
+                        .toList();

Review Comment:
   if you want to do verbatim pulls from master, then it should probably be 
from one PR in master. Description says "This is a combination of pull requests 
https://github.com/apache/maven/pull/11505, 
https://github.com/apache/maven/pull/11632 and 
https://github.com/apache/maven/pull/11702 on master branch."



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to