xwiki/xwiki-commons — comment on commit 74ce5376bde9519e39c009ffa9e462a24ff22024
File:  line 0
By sdumitriu:

@vmassol I checked how is $util used throughout the platform, and:
- the most used methods are parseInt, getNull, and getDate
- there are a few calls to getArrayList and getHashMap which could be replaced with [] and {}; most of it is very old code, and I don't remember if Velocity 1.3/1.4 had support for inline arrays and maps; there is new code using them in createinline, dealing with templates
- there's also getNewline which could be added to $escapetool
- getTreeMap is used once for the TagCloud
- rare usage of convertToAlphanumeric, split, reverseList, add, generateRandomString and the other parse* methods