You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gary Gregory (JIRA)" <ji...@apache.org> on 2018/02/18 19:51:01 UTC
[jira] [Commented] (VFS-652) PatternFileSelector inner workings in
disagreement with documentation
[ https://issues.apache.org/jira/browse/VFS-652?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16368654#comment-16368654 ]
Gary Gregory commented on VFS-652:
----------------------------------
Hi [~b.eckenfels],
Thanks for the help! Do you feel like reviewing Jira and the ML for any low-hanging fruits and push out a 2.2.1? It seems like we've had renewed interest recently on the ML...
Gary
> 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
> Assignee: Bernd Eckenfels
> 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)