desruisseaux opened a new pull request, #11551:
URL: https://github.com/apache/maven/pull/11551

   This commit moves the `dirIncludes` and `dirExcludes` matchers in an inner 
class that implements `PathMatcher` directly (the indirection level through a 
lambda function is removed). The relocated code is mostly identical to the 
previous code, except for the new `DirectoryPrefiltering.simplify()` method 
which does the same work as `PathSelector.simplify()`.
   
   ## History
   The original intend was to add the `testWildcardMatchesAlsoZeroDirectory` 
JUnit test, which fails on the `maven-4.0.x` branch. Then, it has been observed 
that the test already passes on the master branch, thanks to #11125. This 
optimization is a side-effect of the debugging work done before to realize that 
the issue was already fixed on master.


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