[jira] [Created] (IO-375) FilenameUtils.splitOnTokens(String text) check for '**' could be simplified

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (IO-375) FilenameUtils.splitOnTokens(String text) check for '**' could be simplified

Gilles Sadowski (Jira)
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