You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Bernd Eckenfels (JIRA)" <ji...@apache.org> on 2018/02/18 19:26:00 UTC
[jira] [Updated] (VFS-652) PatternFileSelector inner workings in
disagreement with documentation
[ https://issues.apache.org/jira/browse/VFS-652?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bernd Eckenfels updated VFS-652:
--------------------------------
Fix Version/s: 2.2.1
> PatternFileSelector inner workings in disagreement with documentation
> ---------------------------------------------------------------------
>
> Key: VFS-652
> URL: https://issues.apache.org/jira/browse/VFS-652
> Project: Commons VFS
> Issue Type: Bug
> Affects Versions: 2.2
> Reporter: Ivan Camilo da Cruz
> Priority: Minor
> Fix For: 2.2.1
>
>
> 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();}}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)