slachiewicz opened a new pull request, #330: URL: https://github.com/apache/maven-dependency-analyzer/pull/330
Simplify the internal `removeAll` helper on the 1.x line without changing any public API or requiring Maven 4. The boolean `found` loop is equivalent to a short-circuiting `anyMatch`, and conflict-id equality semantics are preserved rather than switching to `Set.removeAll`. Tracking: apache/maven-dependency-analyzer#329 - Replace the inner search loop in `DefaultProjectDependencyAnalyzer.removeAll` with `stream().anyMatch(...)`. Verified: `JAVA_HOME=zulu-21 mvn -B -o -Prun-its verify` → BUILD SUCCESS, unit tests 146 run / 0 failures / 0 errors, invoker ITs 23 passed / 0 failed. -- 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]
