Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
2.2
-
None
Description
Javadoc on class declaration defines:
"A {@link FileSelector} that selects based on regular expressions matched against base filename."
But code uses "path" and not base filename on includeFile method:
return this.pattern.matcher(fileInfo.getFile().getName().getPath()).matches();