jafarre-bi commented on code in PR #11828:
URL: https://github.com/apache/maven/pull/11828#discussion_r2976439037


##########
impl/maven-di/src/main/java/org/apache/maven/di/impl/InjectorImpl.java:
##########
@@ -99,8 +99,9 @@ public Injector discover(@Nonnull ClassLoader classLoader) {
                     try (InputStream is = url.openStream();
                             BufferedReader reader =
                                     new BufferedReader(new 
InputStreamReader(Objects.requireNonNull(is)))) {
-                        for (String line :
-                                reader.lines().filter(l -> 
!l.startsWith("#")).toList()) {
+                        for (String line : reader.lines()
+                                .filter(l -> !l.isBlank() && 
!l.startsWith("#"))

Review Comment:
   I just pushed the changes. There's a workflow awaiting approval.



-- 
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