Description
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.
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.