You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Sebb (JIRA)" <ji...@apache.org> on 2013/04/08 01:09:16 UTC
[jira] [Created] (IO-375) FilenameUtils.splitOnTokens(String text)
check for '**' could be simplified
Sebb created IO-375:
-----------------------
Summary: FilenameUtils.splitOnTokens(String text) check for '**' could be simplified
Key: IO-375
URL: https://issues.apache.org/jira/browse/IO-375
Project: Commons IO
Issue Type: Improvement
Components: Utilities
Affects Versions: 2.4
Reporter: Sebb
Priority: Minor
The method FilenameUtils.splitOnTokens(String text) has a complicated check to decide when to collapse a run of '*'. Could be considerably simplified by caching the previous character.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira