commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bernd Eckenfels (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (VFS-652) PatternFileSelector inner workings in disagreement with documentation
Date Sun, 18 Feb 2018 19:26:03 GMT

     [ https://issues.apache.org/jira/browse/VFS-652?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Bernd Eckenfels updated VFS-652:
--------------------------------
    Assignee: Bernd Eckenfels

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

Mime
View raw message