|
Version: |
16.10.8 |
Version: |
16.10.0 |
Description: |
The XWiki 2.0 and 2.1 syntax parser currently [uses String#replaceAll to remove "~" from parsed words an spaces|https://github.com/xwiki/xwiki-rendering/blob/e46c703435fa0f179560201a5029029a5a34deed/xwiki-rendering-wikimodel/src/main/javacc/XWiki20Scanner.jj#L989]. While the performance impact is minor, it is still inefficient as this compiles a regular expression. See also https://medium.com/javarevisited/micro-optimizations-in-java-string-replaceall-c6d0edf2ef6 and https://rules.sonarsource.com/java/tag/regex/RSPEC-5361/ |
|