+1

2014-03-14 11:51 GMT+01:00 Felix Meschberger <fmesc...@adobe.com>:

> Hi
>
> I am playing around with performance testing and noticed that the
> ResourceUtil.resourceTypeToPath method uses String.replaceAll to replace
> colons with slashes.
>
> I have the impression using a regular expression to replace a single
> character with another character is overkill and replacing this code with a
> simple "String.replace(':', '/')" might be more appropriate.
>
> WDYT ?
>
> Regards
> Felix




-- 
Carsten Ziegeler
cziege...@apache.org

Reply via email to