Description
The implementation of PathUtils.dropIndexFromName(String) can easily be optimized for the regular case when the name does not have an index suffix. The current pattern matching taking place every time is rather expensive.
The implementation of PathUtils.dropIndexFromName(String) can easily be optimized for the regular case when the name does not have an index suffix. The current pattern matching taking place every time is rather expensive.