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


##########
impl/maven-core/src/main/java/org/apache/maven/project/MavenProject.java:
##########
@@ -449,7 +417,7 @@ public Collection<SourceRoot> getSourceRoots() {
      * @since 4.0.0
      */
     public Stream<SourceRoot> getEnabledSourceRoots(ProjectScope scope, 
Language language) {
-        Stream<SourceRoot> s = 
sources.values().stream().filter(SourceRoot::enabled);
+        Stream<SourceRoot> s = sources.stream().filter(SourceRoot::enabled);

Review Comment:
   Maybe s --> stream
   When I see a single letter s variable, I think string, not stream.



-- 
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: issues-unsubscr...@maven.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to