Skip to content

Conversation

@jfzunigac
Copy link
Contributor

FilenameUtils.wildcardMatch() does not work as expected and can lead to initialization of unwanted directories. Switching to FileSystems.getDefault().getPathMatcher(...) with glob pattern yields expected results, see: https://docs.oracle.com/javase/8/docs/api/java/nio/file/FileSystem.html#getPathMatcher-java.lang.String-

@jfzunigac jfzunigac requested a review from a team as a code owner May 9, 2025 17:27
@jfzunigac jfzunigac merged commit 2e68dac into pinterest:master May 9, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants